Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
143665 | Mar 30,2019 06:07 PM UTC | Apr 1,2019 02:21 PM UTC | Vue | 2 |
![]() |
Tags: Data Grid |
<ejs-grid ref='grid' :data-source="gridSource" :allow-paging="true"
>
<e-columns>
<e-column type='checkbox' width='50'>e-column>
<e-column field='firstname' header-text='Filename' width=90 :template="userTemplate">e-column>
<e-column field='account_created' header-text='Created at' width=90>e-column>
<e-column headerText='Manage Records' width='160' :commands='commands'>e-column>
e-columns>
ejs-grid>
data() {
return {
gridSource: new DataManager({
url: '/user',
adaptor: new WebApiAdaptor({
}),
key: 'hash'
}),
commands: [
{ type: 'Delete', buttonOption: { iconCss: 'e-icons e-delete', cssClass: 'e-flat' } },
],
}}
Thanks in advance
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.