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
1180
Resize columns in Grid with RowLayout setting
posted

Hi Guys,

I've created a ultraGrid which contains multi-level bands. I am using below setting to make sure that when I resize the on Parent columns, child columns will get resized as well.

this._mainGrid.DisplayLayout.Override.AllowColSizing=AllowColSizing.Synchronized;

This works fine with normal grid. However, if I set up RowLayout on grid or categorize columns by using column.Group, it doesn't work anymore. How can I get child column get resized as well in such situation?

 

Thanks,

Xin

Parents
  • 1180
    posted

    Hi,

    I think I found something on below link:

    http://blogs.infragistics.com/forums/t/52488.aspx

    So now I am implementing the AfterColPosChanged Event to manually set the column width. It works fine with RowLayout setting grid. However, it throws out of stack exception for normal view. Looks like in normal view, if we say column.Width = 50, it will call AfterColPosCahnged event again then even will set the column size again and again.

    Is there any setting I can disable such behavior?

Reply Children
No Data