Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144799 | May 23,2019 10:38 AM UTC | May 24,2019 12:15 PM UTC | Vue | 3 |
![]() |
Tags: Data Grid |
<template>
<div id="app">
<button v-on:click="click()">Properties</button>
<ejs-grid ref='grid' id='grid' :dataSource="data" :allowPaging='true' :pageSettings='pageSettings' :editSettings='editSettings' :toolbar='toolbar'
:allowFiltering='true'>
<e-columns>
. . .
</e-columns>
</ejs-grid>
</div>
</template>
<script>
methods: {
click: function() {
var temp = Object.assign({},this.$refs.grid.ej2Instances.properties);
Vue.delete(temp, 'dataSource'); // her we have removevd the dataSource. You can also keep only required properties
console.log(temp);
}
},
provide: { |
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.