Column Resize event

Hi,

I need to know when a user has re-sized a column but it seems as though there aren't any events associated with this action. Also, it doesn't fire the actionBegin or actionComplete events as a searching or filtering action will.

Can you please advise if there is an event available or if there any plans for one?

thanks

adam

1 Reply 1 reply marked as answer

RS Rajapandiyan Settu Syncfusion Team February 12, 2021 07:11 AM UTC

Hi Adam, 
 
Thanks for contacting Syncfusion support. 
 
Query: I need to know when a user has re-sized a column but it seems as though there aren't any events associated with this action. 
 
By default, the resizeStart, resizing and resizeStop events will be triggered when you perform resizing action on Grid Columns. This is demonstrated in the below documentation. 
 
 
 
Find the below sample and code example for your reference. 
 
 
[index.js] 
 
var grid = new ej.grids.Grid({ 
  dataSource: window.hierarchyOrderdata, 
  allowResizing: true, 
  ----- 
  resizeStart: resizeStart, 
  resizing: resizing, 
  resizeStop: resizeStop 
}); 
grid.appendTo("#Grid"); 
 
function resizeStart(args) {  // Triggers when column resize starts. 
  console.log("resizeStart"); 
  console.log(args); 
} 
function resizing(args) { // Triggers on column resizing. 
  console.log("resizing"); 
  console.log(args); 
} 
function resizeStop(args) { // Triggers when column resize ends. 
  console.log("resizeStop"); 
  console.log(args); 
} 
 
 
Please get back to us if you need further assistance with this. 
 
Regards, 
Rajapandiyan S 


Marked as answer
Loader.
Up arrow icon