Below is my implementation and the problem I am facing. Please assist in finding a resolution.
- We have 10 columns and hide 2 of them in the settings hiddenColumns:{columns:[2,3]}.
- There is an screen where all the column headers are listed and can be hidden with user toggle show/hide action. Assume 8 column headers are shown there.
- Now when we try to hide additional 4 columns by clicking on the toggle, they are hidden, but at the end of the table, I can see 4 ghost columns with empty cell values and column headers as default excel alphabets