BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
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');
|