Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
146565 | Aug 8,2019 10:32 AM UTC | Aug 9,2019 10:26 AM UTC | Vue | 1 |
![]() |
Tags: Data Grid |
<ejs-grid
id="Grid"
ref="grid"
:dataSource="{ result : data, count : data.length }"
:allowPaging="true"
:allowFiltering="true"
:editSettings="editSettings"
:toolbar="toolbar"
:filterSettings="filterSettings"
:dataSourceChanged = "dataSource"
>
</ejs-grid>
</div>
</template>
<script>
export default {
data() {
return {
},
provide: {
grid: [Page, Filter, Toolbar, Edit]
},
methods: {
dataSource(args){
if(args.action === “edit”){
args.endEdit(); // once data updated successfully then call endEdit function
}
}
}
};
</script>
|
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.