I am experiencing an issue with the dhtmlxGrid control that I can’t find a solution for. When the grid is being resized in the UI it shrinks. The more it is resized the more it shrinks.
The container is sized to width 100% and height 350px;
<div class="width-100 margin-top-10" id="history-grid" style="height: 350px;"></div>
The grid is initialized with defined column widths
var grid = new dhtmlXGridObject("history-grid");
grid.setImagePath('@Url.Content("~/Scripts/dhtml/imgs/")');
grid.setHeader(",Action Date, Action Time,User,Action,Note,Next Action Date,Next Action Time,Next Action");
grid.setColumnIds("QaLink,ActionDate,ActionTime,UserName,ActionName,Note,NextActionDate,NextActionTime,NextActionName");
grid.setColAlign("center,center,center,center,center,left,center,center,center");
grid.setInitWidths("40,80,80,100,80,225,125,125,80");
grid.enableMultiline(true);
grid.setSkin("dhx_skyblue");
grid.init();
Does anyone have any idea what is going on and how to fix it?