When I’m setting one of the column as hidden the grid do not want to adopt width of layout cell (see image). It is not the problem of the columns width since if I autoresize columns to fit grid width the grid stays shrinked.
Please, provide with any kind of sample of your code with the init of your grid.
Here ia the code generated by DHXDesigner
[code]
grid_1.setIconsPath(’./codebase/imgs/’);
grid_1.enableMultiselect(true);
grid_1.setColumnHidden(0, true);
grid_1.setHeader(["Year","Date","Conc.","Sample","Conc.","Ligand"]);
grid_1.setColTypes("ro,dhxCalendarA,coro,ro,ro,ro");
grid_1.setColAlign('left,center,center,left,center,left');
grid_1.enableResizing('false,true,true,true,true,true');
grid_1.enableTooltips('false,true,true,true,true,true');
grid_1.setColSorting('int,date,int,str,int,str');
grid_1.groupBy('0');
grid_1.attachEvent('onEditCell', function(stage,rId,cInd,nValue,oValue){
if(cInd=='1' || cInd == '2' || cInd == '3' || cInd == '4' || cInd == '5')
return false;
else return true;
});
grid_1.setNumberFormat(‘0,000.00’,2, ‘.’, ’ ‘);
grid_1.setDateFormat(’%d %M’);
grid_1.init();
grid_1.attachEvent('onEditCell', function(stage, rId, cInd, nValue, oValue){
return false;
});
grid_1.enableDragAndDrop(true);[/code]