Author Topic: Automatically resize columns to autofit  (Read 286 times)

jplevene

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 131
    • View Profile
Automatically resize columns to autofit
« 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?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6307
    • View Profile
Re: Automatically resize columns to autofit
« Reply #1 on: May 23, 2024, 07:47:40 pm »