Reputation: 173
Is there a way to add some columns to columnchooser
not all columns? I have a jqgrid
which create some columns dynamically on that. So, I want the columns that I created dynamically add to jqgrid
not to columnchooser
or after creation they show directly in the grid. So, it doesn't need the user goes to the columnchooser
and select those columns to show.
I used below code for showing columnchooser
:
$('#enter-value-table-settings-dialog').columnchooser(
$("#enterValueGrid"), {
titleText: ($('<div/>').html($T('enter.value.edit.table')).text()),
style:'ish-columnchooser-title',
tableType: 13
});
$('#Enter-value-table-settings').click(function() {
$('#enter-value-table-settings-dialog').dialog('open');
return false;
});
Upvotes: 0
Views: 245
Reputation: 221997
You can specify hidedlg: true
property in column definition of columns which you don't want to show in columnChooser
.
Upvotes: 2