Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by ez on Mar 17, 2009 00:38
open dhtmlx forum
Grid in splid mode and * col width

This combination do not work as supposed to.

Final grid is not 100% width, and this new size differ from IE to FF


tested on latest 2.1 pro



Answer posted by dhxSupport on Mar 17, 2009 03:51

Are you using (*) columns's width with enableAutoWidht(true)? In this case autowidth is ignored and (*) column takes all availibe width from the grid's container width.

Answer posted by ez on Mar 17, 2009 05:16
AutoWidth is disabled, You can reproduce this problem by adding splitAt to:   

Sample: dhtmlxGrid   Autowidth for column(s)

example file
Answer posted by dhxSupport on Mar 17, 2009 10:10

This is expected behaviour. If you are using splitAt() method 2 separete grids are created. If one of them has column with (*) width, it cout ramain width of the separate grid, not from the whole grid.