I am trying to hide a column based on the values of its rows. If the value is null for any row, then I need to hide the whole column.
I tried attaching a function to the hidden property of the column in the colModel, but that didn't seem to trigger. Can I hide the column based on a function on the render property?
Something like:
.colModel = [...
{... render: function (ui) { ui.cellData == null ? hidden = true: hidden = false }; }, ...