I would like to ask how I can catch the event when the user resizes a column in DHX (DHTMLX) and set the width value for that column? Currently, I don’t see any event in the documentation to capture this action, nor do I see a way to set the width for a column.
Hi,
You can track changes in column width or row height using the beforeAction
or afterAction
events.
Here is the documentation for these events:
Both of these events return an actionName
, which describes the action being performed.
Here’s an example: DHTMLX Snippet Tool
Regarding setting the column width: unfortunately, there is currently no official method to do via API. I’ve passed your suggestion to our development team - it may be considered for a future update.
Thank you for your suggestion!
1 Like