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
40
Fixed columns with group row layout
posted

Hi everybody.

I have a question. How to create fixed columns with grouped header layout?

I made a very simple project showing what exactly I want. With unchecked checkbox everything looks fine, I have fixed columns etc. But when I check this checkbox (just change a ultraGrid1.DisplayLayout.Bands[0].RowLayoutStyle property) fixed columns become unfixed.

I really need grouped columns layout with ability to fix some columns on the left side of the grid, so I extremly need your help with configuring the grid.

Yours sincerely,

Mike

WindowsFormsApplication1.zip
Parents
  • 23930
    Verified Answer
    Offline posted

    Hi Mike,

    Thank you for contacting Infragistics Developer Support.

    These two features are mutually exclusive - you cannot fix columns or rows in RowLayout mode. What you could do instead is to use a splitter and put another grid for the fixed columns. Hide the fixed columns in your first grid and hide the non-fixed columns in the second grid. Then set the AutoFit property for the first grid to ResizeAllColumns so that you won’t be able to scroll it.

    I have modified your sample in order to demonstrate this approach.

    Let me know if you have any additional questions.

    WindowsFormsApplication1Mod.zip
Reply Children