Categories | Question details Back To List | ||
Datagrid height question Hi, Can anyone tell me how to set the height of the whole grid? I tried to give as a table tag element, as a style element, from css but no success.. here's my table <table id="tblToGrid" width="580" height="50px" style="height:50px"> with this init: var mygrid = new dhtmlXGridFromTable('tblToGrid'); if I add more row, the whole grid height with the Y scrollbar will increase.. I've tried mygrid.enableAutoHeight(false,60); but ain't work.. any guess? i'm desperate.. thanks a lot Answer posted on Nov 21, 2007 01:50 By default, when converting from HTML table, grid detects height in next order - check height attribute - check gridHeight attribute - check height style - if none above set, current table offset height used To enable auto-height mode for grid converted from HTML you can use <table gridHeight="auto" ... |