Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144874 | May 27,2019 10:25 AM UTC | May 28,2019 04:33 AM UTC | Vue | 1 |
![]() |
Tags: Data Grid |
<template>
<div id="app">
<ejs-grid ref="grid" id="grid" :dataSource="data" :editSettings="editSettings" :toolbar="toolbar"
:actionBegin="actionBegin" >
<e-columns>
. . .
</e-columns>
</ejs-grid>
</div>
</template>
<script>
export default {
name: "App",
. . .
methods: {
actionBegin: function(e) {
actionBegin: function(e) {
if (e.requestType === "save") {
console.log(e.action); // returns “add” for add action and “edit” for edit action
}
}
}
};
</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.