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
1085
Change GRID Column Captions After Grouping
posted

Hi,

I have a grid (2 bands) and i have grouped the second band data based on some requirement. Now , i need to edit the caption of a particular column in each group . Which property to use..Please help. I tried grd.displaylayout.bands[1].groups[1].columns[3].header.caption = "nnn" , but the debugger shows groups collection has 0 count. Please Help

  • 469350
    Offline posted

    Hi,

    Groups are not the same as OutlookGroupBy. Groups are groups of columns, not groups of data rows.

    It sounds like you want to change the text on the UltraGridGroupByRow(s).

    You can do this using the GroupByRowDescriptionMask property on the Override.

    Or, if you need finer control, you can handle the InitializeGroupByRow event and set the Description property on the row to any text you want.