Categories | Question details Back To List | ||
Height and width of the subgrid from xml How to control the height and width of the subgrid with in a grid? I tried using enableAutoHeight function but doesn't seem to work. For example: My main grid is 950 px wide and 95% high want my subgrid to be 800px wide and 400px high how do i acheive this? done through xml preferred Answer posted by Support on Mar 17, 2008 08:59 In order to control subgrid height you can use the approach and attached file from the following reply: index.php?s=normal&q=2340&a=2979 mygrid.attachEvent("onSubGridCreated",function(sgrid){ sgrid.enableAutoHeight(true,400) sgrid.setSizes() return true; }) But there is no opportunity to set another width for each subrow - different from the parent grid width. If you need such a functionality, you can discuss the possible customization with sales@dhtmlx.info |