You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to hide/show multiple columns at once, but after every column visibility change, grids gets rendered, which makes performance an issue for me.
Is there some way to update multiple columns at once, or stop grid from rerendering until the end of setting visibility for all columns?
The text was updated successfully, but these errors were encountered:
Figured it out by myself - note for people having this same kind of issue in a future.
Each call to fieldOption calls a method to once again render a grid, so the easiest way was to change each field as wanted by getting it by jsGrid.fields, and after setting each column as wanted calling $('#jsGrid').jsGrid("render"). Thanks to that grid is rendered only once, but with all desired columns visible.
Hi,
I'm trying to hide/show multiple columns at once, but after every column visibility change, grids gets rendered, which makes performance an issue for me.
Is there some way to update multiple columns at once, or stop grid from rerendering until the end of setting visibility for all columns?
The text was updated successfully, but these errors were encountered: