I have implemented custom column chooser dialog. When user submit changes I have two arrays:
keysOfColumnsToShow (example: ['key1', 'key2', ...])
keysOfColumnsToHide (example: ['key3', 'key4', ...])
I have debugged and keys are fine. Now I try to apply changes in code. To do this I use igGridHiding method:
$(".grid").igGridHiding("showMultiColumns", keysOfColumnsToShow)
$(".grid").igGridHiding("hideMultiColumns", keysOfColumnsToHide)
The problem is that after calling igGridHiding method, some headers are not above corrent column and some headers are empty.
What is the corrent way to manage hiding/showing columns in code without using default dialog?
Can you give more details on your scenario? I investigated this and prepared a sample, but didn't manage to replicate the scenario you are describing.
It's working as expected. Can you modify the following code sample to demonstrate it?