Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kathy on Jul 02, 2009 09:33
open dhtmlx forum
How can I make dhtmlXWindows resize to fit grid size?

I have a grid in modal dhtmlXWindows. I show / hide rows in the grid based on user selections. I need the window to resize to fit the grid after rows are hidden / shown. Is there a way to do it?
Answer posted by Stanislav on Jul 03, 2009 15:20
There is no such built in functionality. 
The best what can be achieved - do the next after row hiding
   - take new height of grid as
               grid.entBox.offsetHeight
   -  use setDimension method of window , to apply new height value