colVis colVisGroup performance, events

colVis colVisGroup performance, events

jh7459jh7459 Posts: 1Questions: 1Answers: 0

good morning! I'm doing server-side on an 80 column table, with moderate amount of info.
It's a reasonably large performance hit to slurp in 80 columns of data, so I thought I would only send data for visible columns.

This works fine, until I start using my colVisGroups to show/hide groups of columns. since, if I toggle on an invisible column, that column has no data yet..

so I thought I would add an event handler to refresh when the user changes the visibility, but
the only event handler I can find is for column-visibility.dt, but... its firing an event for each column being changed. 60 or 70 events in my case.

can anyone suggest another event I can use, or some other strategy

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    Hi @jh7459 ,

    80 columns shouldn't be that bad if you're doing serverSide processing - it would still only return the rows being displayed. This section of the FAQ discusses various strategies to improve performance.

    Cheers,

    Colin

This discussion has been closed.