Anyone have an idea how to hide a nested column outside of the grid init.
Like in the nested grid example if I wanted to have a checkbox elsewhere on the page that would hide the ‘ShipAddress’ column of the nested grid.
A lot of the problems I have with the nested grid is because it doesn’t have an implicit name like a normal grid does, so you can’t use something like
$("#main_grid").jqxGrid('hidecolumn', 'LastName');
I have tried a few things (these don’t work):
grid.jqxGrid('hidecolumn', $( this ).attr('id').substring(10));
or
$(".detailGrid").jqxGrid('hidecolumn', ‘ShipAddress’);
even if you use
$("#main_grid").jqxGrid({ rowdetailstemplate: { rowdetails: "<div id='grid' class='detailGrid'