After I add and remove columns in jqgrid, how do I get a list of the columns that are displayed?
When I call the method:
jQuery("#list").jqGrid('columnChooser',{ "msel_opts": $.ui.multiselect.defaults, "done": function (permut) {
var colnames = $("#list").jqGrid('getGridParam', 'colModel');
}
});
Colnames returns back with the original set of columns and not the updated list after the columns have been removed or added.