ParamQuery grid support forum
General Category => Bug Report => Topic started by: kshipra on April 19, 2017, 09:53:14 pm
-
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();
}
},
-
I'm unable to reproduce the issue.
Could you please share a jsfiddle.
Thanks
-
ok. I will do that. can you please remove my screen shot.
-
I have attached html file with grid and sample data in it that is having same issue.
-
yes the issue is reproducible. It happens when there are hidden columns among the frozen columns.
I'm moving it the bug log, would let you know once the fix or a patch is available.
-
Thanks. What is timeline that we are looking at?
-
Turns out the issue is resolvable by just refreshing the colModel.
this.option("freezeCols", $(evt.target).val());
this.refreshCM();
this.refresh();
Please let know whether it fixes issue at your end?
-
Great! That worked. Thanks for addressing this quickly. :)