I have a grid with 3 columns. I want to recreate the same behavior as AutoFitStyle.ResizeAllColumns. However instead of resizing all columns i want it to use only the middle column. So that the outer 2 columns remain unchanged.
Are there any property's on the grid which allows me to do this? or do i need to build something custom for this?
Well that gets me close to what i want.
Something which i forgot to mention in my previous post was that i still want the user to be able to resize the outer columns.
So even though the outer columns remain the same size when resizing the grid, the user can still resize the columns manually.
Hello,
What you could do in this case is to set the MinWidth and MaxWidth of the first and third column to a same number(lets say the current width of each column). And if you use the ResizeAllColumns the only left resizeable column will be the second one.
Please let me know if you have any further questions.
Sincerely,
Danko Valkov
Developer Support Engineer
Infragistics, Inc.