The grid with the property as below which is autoFit column based on grid data with Grid area.
{
name: 'Auto fit Columns',
action: function () {
this.option('scrollModel', { autoFit: true });
this.refresh();
}
}
We need to autofit with grid column content which is working when we double-click on the header pipe (the line between two header names). Please advise how can we call this like autoFit scrollModel.