Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tejas Shah on Sep 29, 2008 08:00
open dhtmlx forum
DHX Grid: Design Issue while showing scroll bar in Grid

Hi there,
I am facing following design problem in scroll bar
Image Link: http://img372.imageshack.us/my.php?image=gridscrollbariemozillaak1.jpg
Answer posted by Support on Sep 29, 2008 15:58
Most probably issue caused by padding or margin styles assigned to grid elemenst. If you are using not full doctype , IE will work in backward compatibility modes which may cause such result.
To fix issue you can 
- switch to full doctype ( standard mode of IE )
- update style so they will work correctly in both IE and FF ( it hard to suggest anything without having modified stylesheet )
Answer posted by Tejas Shah on Sep 29, 2008 23:58
Hi,
   Why the Mozilla is not taking the full height of the grid, while IE takes the specified height mentioned in enableAutoHeight() ??
Answer posted by Support on Sep 30, 2008 08:26
This is difference in used "box" model. 
IE ( in backward compatibility mode ) includes the paddings|margins|borders in height of grid, FF not includes but adds size of such styles to the height of elements. 
The grid has info about corrections for built-in skins, so it can handle both behaviors, but in case of custom styles - the problem may occur