Author Topic: AutoSave State?  (Read 1871 times)

rgorantla

  • Pro Deluxe
  • Jr. Member
  • *
  • Posts: 88
    • View Profile
AutoSave State?
« on: October 12, 2017, 07:35:41 am »
Hi,

Is there a way to save the state automatically when columns are shown/hidden and/or when columns are dragged?


paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: AutoSave State?
« Reply #1 on: October 12, 2017, 10:19:33 pm »
You would need to call saveState from the appropriate events.

There is columnOrder event when columns are reordered.

there is no event specifically for show/hide column. If you have been using the toolbar select list listener to show hide columns, then saveState method can be added inside that listener.