Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
236
AutoFitStyle with a twist
posted

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?

Parents
  • 20872
    Offline posted

    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.

     

Reply Children
No Data