I have a grid (version 2012.2.607.40) that has the resizing set as:
Then in my code behind, I am creating columns. The last two columns created have the Resizable property set to false:
When I hover over the headers of the first set of columns, the right side of the header shows the mouse cursor change. The two final columns do not allow the resize cursor to appear. This works as expected. However, when I actually change the size of the columns set to true, by default, it resizes the rest of the columns to fill the space of the grid. Even the columns marked false. That is my problem.
For example, say there are five Columns (A, B, C, D, and E). D and E are set for Resizable = false. By default each column is at 20% of the grids width. If I resize column B down to 12%, I would hope to see A and C grow to 24% each while D and E stay at 20%. However, I see all four resize to 22%. Even the ones that should not resize. Bummer!!
What can I do differently for the correct calculations to occur in resizing?
Best Wishes,
Keith
<
Resizing
AllowColumnResize
=
"true"
ClipCellContentOnResize
=
"true"
ResizeGridOnColumnResize
=
"false"
AllowRowResize
=
"false"
/>
Then in my code behind, I am creating columns. The last two columns created have the Resizable property set to false:
column.Resizable =
false
;
When I hover over the headers of the first set of columns, the right side of the header shows the mouse cursor change. The two final columns do not allow the resize cursor to appear. This works as expected. However, when I actually change the size of the columns set to true, by default, it resizes the rest of the columns to fill the space of the grid. Even the columns marked false. That is my problem.
For example, say there are five Columns (A, B, C, D, and E). D and E are set for Resizable = false. By default each column is at 20% of the grids width. If I resize column B down to 12%, I would hope to see A and C grow to 24% each while D and E stay at 20%. However, I see all four resize to 22%. Even the ones that should not resize. Bummer!!
What can I do differently for the correct calculations to occur in resizing?
Best Wishes,
Keith