Is there a way to auto-hide empty columns? a column without any data...
Is there a way to auto-hide empty columns? a column without any data...
We want to load a large grid, 50+ columns, but many of the columns will have no data in any of the cells. How can I hide all columns with no data in any of the column's cells?
This discussion has been closed.
Answers
Hi @DavidPetrillo ,
There isn't a way as standard - but it would be trivial in
initCompleteto scan a columns data (column().data()) and if all empty, then hide withcolumn().visible(),Cheers,
Colin