Hello,
I need to hide expand column (column with expander sign in igHierarchicalGrid) after the initialisation (either by converting igHierarchicalGrid to igGrid, or simply by setting width of expand column to 0px, or any other way) but I can not reach it in any way after initialisation.
Thanks
Branko
Hi Branko,
Thank you for posting in our forums! Try setting expandColWidth option to “0px”. But the best solution here is to use the igGrid instead of igHierarchicalGrid. This way you won’t have any workarounds in your code.
I hope this helps! Please let me know if you need any further assistance!
Kind regards, Petko Zhekov Software Engineer
I have tried that, but expandColWidth can only be initialised, I need to change it during the runtime.
How to change it?
That's it, thank you very much for your quick response!
Hi,
Thank you for your quick response! In runtime you can change the width of the colgroup itself. It looks like this - $('#Grid colgroup col').eq(0).css("width", "0px").
I hope this helps!