Posted in this thread following the previous comment from VijaySM:
"Can we make it stateful, so it can remember the previous columns selection?
I tried using stateful parameter set to true but no success."
Support Forum
Just take one of our examples and provide us the steps how the reproduce. I used the print example and added some extra columns.
https://www.bryntum.com/examples/gantt- ... les/print/
You can take this example as a base.
https://www.bryntum.com/examples/gantt- ... les/print/
You can take this example as a base.
The problem is that, using Angular, the column id's are always changing. Your demo keeps the locked grid columns id between refreshes.
You can check attached image what id I'm talking....
This way, the columns selection state is never stored. Only the other settings, like Visible Schedule, etc...
How can we prevent this ??
You can check attached image what id I'm talking....
This way, the columns selection state is never stored. Only the other settings, like Visible Schedule, etc...
How can we prevent this ??
- Attachments
-
- GanttColumnIdChangesInAngular.PNG (396.25 KiB) Viewed 3538 times
You can use the stateId and set it on the columns:
https://docs.sencha.com/extjs/6.5.3/cla ... fg-stateId
If that is not working, then please provide a runnable example.
https://docs.sencha.com/extjs/6.5.3/cla ... fg-stateId
If that is not working, then please provide a runnable example.