3/24/2011 8:56:46 AM
Title:
Problem with datagrid column width
Hi all..
I have a a daragrid that contains 11 columns. At one scenario all 11 columns are visible. And in another scenario only 5 columns are visible. So what i do is for the 5 columns that are always visible, i set the width as something like this..
width={flag ? 100 : 150} where the flag is the scenario based on which i show the column.
Now the problem is the columns are not adjusting to the width properly. The visibility of the columns are also set similarly and it works. But the columns are not resizing to the width is set.
do i miss something??