Hi,
I have a grid with multi row headers. A screenshot is attached.
How do I make so that if I resize the "Instructions" column the Signature, Notes and Done columns do not resize? I've set them to have a LockedWidth and set the MaxWidth but this doesn't work.
Basically I only want the Todo and Instructions columns resizable.
Thanks!
Ryan
Hello Ryan,
I have created a RowLayout Style at design time and after that I have just set the width of the columns based on your needs. You are able to resize only the columns that you need.
Please take a look at the attached sample.
Sincerely,
Danko Valkov
Developer Support Engineer
Infragistics, Inc.
Thanks for the reply Danko! That is what I normally but in this case unfortunately it doesn't work. The difference is that the grid has multi row headers. When I resize the Instruction column the Done column resizes with it, regardless of any restriction settings I've applied. Is this a bug or am I just missing something? Thanks!
What you could try here is setting the MinWidth and MaxWidth of th columns that you do not want to resize to the same number (let's say there current width) in the InitializeLayout event of your Grid. Leaving the other two columns untouch should give you the ability to resize them.
Please let me know if you have any further questions.