ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: jplevene on May 23, 2024, 05:33:46 pm
-
I have set flex:{on:true} with no width settings on my columns as I want pqGrid to establish the column widths automatically. How do I do this after the data has been loaded?
My grid switches between data (tabbing different sets of data) so I need the column width calculation to happen after the data has loaded.
Alternatively, when you double click the right edge of the column header, the column resizes. How can I call that event/method dynamically from JS?
-
you can call the flex method in the complete event.
https://paramquery.com/pro/api#method-flex
https://paramquery.com/pro/api#event-complete