Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
145457 | Jun 23,2019 03:03 PM UTC | Jun 24,2019 06:33 AM UTC | Vue | 3 |
![]() |
Tags: Data Grid |
<template>
<div id="app">
<div>
<ejs-grid ref="grid" :created="created" :allowPaging="true" :pageSettings="pageSettings"
:dataSource="data" >
<e-columns>
. . .
</e-columns>
</ejs-grid>
</div>
</div>
</template>
<script>
. . .
methods: {
created: function(args) { // you can get the pager component inside the “created” event of Grid
this.$refs.grid.ej2Instances.pagerModule.pagerObj.dropDownChanged = e => {
console.log(e);
};
}
},
provide: {
grid: [Page]
}
};
</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.