I have a strange problem .
The treegrid initialization is given below
<div class="panel-body">
<div style="height: 300px;" class="text-center loader" id = "loader">
<i class="fa fa-spinner fa-pulse fa-5x" style="position: relative;top: 40%;transform: translateY(-40%);color: lightblue;"></i>
</div>
<div id = "averagesChart" class="col-md-12 col-sm-12 col-xs-12" ></div>
<div id = "averagesTable" style="height:300px;width:100%;position:relative;background-color: white;overflow:hidden;padding:0px;" class="col-md-12 col-sm-12 col-xs-12" ></div>
</div>
dhxTreeGrid = new dhtmlXGridObject("averagesTable");
with(dhxTreeGrid){
setHeader("Group/KPI,Score,<?=$account->name ?> Average,%Δ, ",null,["text-align:left;font-size:14px","align:center;text-align:center;font-size:14px","align:center;text-align:center;font-size:14px","align:center;text-align:center;font-size:14px","text-align:center;"]);
setIconsPath(dhx_iconpath); //only used if not default icons used for the group/kpi(otherwise comment it)
setInitWidths("250,75,175,75,*");
enableResizing("true,true,true,true,true");
setColAlign("left,center,center,center,left");
enableAutoWidth(true);
//enableColumnAutoSize(true);
setColTypes("tree,ro,ro,ro,ro");
setColSorting("str,int,int,str,na");
setImageSize(1,1);
setEditable(false);
setColVAlign("text-bottom,text-bottom,text-bottom,text-bottom,text-bottom");
init();
};
dhxTreeGrid.attachEvent("onOpenEnd", function(index,state){// save the groups that were open
//minimal parameters set
dhxTreeGrid.saveOpenStates();
});
dhtmlxEvent(window, "resize", function () {
//resize grid size on container size change
dhxTreeGrid.setSizes();
});
When I drag/resize any column, the grid height starts shrinking. Regardless of whether I expand or reduce the column width
with the mouse the treegrid shrinks. Any idea whats the issue guys ?
We are using the dhtmlx 5.0 pro on web layout with skin.