Categories | Question details Back To List | ||
Autowidth We have some concerns about the autowidth features and splitting. Basically we want to have all the columns autofit to a certain size no matter the splitindex. We've tried: setInitWidths("*,*,....*) && enableAutoWidth(false)- This cuts off columns setInitWidths("*,*,....*) && enableAutoWidth(true)- The grid doesn't load setInitWidths("x,*,*,...*) && enableAutoWidth(true)- The right side has a horizontal scroll bar, even if x is very very small setInitWidths("x,*,*,...*) && enableAutoWidth(false)- The right side has a horizontal scroll bar, even if x is very very small setInitWidths("x,y,z...,zz") && enableAutoWidth(true)-Parts of the last columns are cut off. Resizing columns makes the grid smaller or larger setInitWidths("x,y,z...,zz") && enableAutoWidth(false)-The columns withs are just set by me. Please advise how to structure this grid so that the grid doesn't change width when the column widths are changed by the user (a scrollbar is fine, just the actual grid width), the split still works, and every column including the spilt columns are autofit. Sorry for the length, Thanks in advance, Michael Answer posted by Support on May 16, 2008 02:37 The enableAutoWidth command not works in current version of grid with splitAt command >>so that the grid doesn't change width when the column widths are changed by the user
>>Basically we want to have all the columns autofit to a certain size no matter the splitindex. grid.setInitWidths("100,200,*,....*)
|