On dynamically setting freeze cols to 3 the grid columns disappear. When user scrolls the rest of columns on grid appear except last 2. There are 34 columns and 32 are selected. when freezing columns.
options on grid are as follows:
selectionModel: { type: 'cell' },
dataModel: dataModel,
//showBottom: true,
fillHandle: "all",
height: 650,
width: "95%",
virtualX: true,
virtualY: true,
showTitle: true,
resizable: true,
collapsible: false,
showHeader: true,
columnBorders: true,
wrap: false,
rowBorders: false,
freezeRows: 0,
numberCell: { show: true },
trackModel: { on: true },
editor: {
select: true
},
{
type: 'select',
label: '# frozen columns: ',
options: [0, 1, 2, 3, 4, 5],
listener: function(evt) {
this.option("freezeCols", $(evt.target).val());
this.refresh();
}
},