Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
150363 | Jan 3,2020 10:55 AM UTC | Jan 8,2020 05:55 AM UTC | JavaScript - EJ 2 | 4 |
![]() |
Tags: Grid |
Index.ts
let data: Object = orderData.slice(0, 15);
let grid: Grid = new Grid(
{
dataSource: data,
showColumnChooser: true,
toolbar: ['ColumnChooser'],
allowReordering: true,
allowResizing: true,
actionComplete: (args)=>{
if (args.requestType === 'columnstate') {
console.log('Column Visiblity changed',args);
}
if (args.requestType === 'reorder') {
console.log('Column Order changed',grid.getColumns(), args);
}
},
resizeStop : (e)=> {
console.log(e.column.field + ' column width changed to ' + e.column.width );
},
. . .
});
grid.appendTo('#Grid');
|
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.