Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 05, 2007 10:15
open dhtmlx forum
Also in the grid, we found that if the we add rows to a grid object while it is in a hidden <DIV> and t...

Also in the grid, we found that if the we add rows to a grid object while it is in a hidden <DIV> and then show the DIV, the rows are not lined up correctly and they leave a big space between the grid header and the first row. It is only when we populate the grid with data while the DIV is visible then the rows seem to align normally
Answer posted on Mar 05, 2007 10:16

The grid cannot set correct sizes while in invisible state, so any actions to hidden grid can cause visual problems.

To fix issue just call my_grid.setSizes() after switching back to visible state.

Also you can try visibility:hidden instead of display:none. In such case grid will calculate its sizes correctly.
Answer posted by radyno (Support) on Dec 04, 2014 15:01

Having solved the problem mentioned above, you may also look through the possible related problems with php drag and drop editor and dhtml calendar picker.