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
660
Need to put Rows into multiple Group.
posted

HI,

Im using Arraylist as datasource for my ultragrid.

In my ArrayList for example, saying that first 10 Rows belongs to GroupA and next 10 rows belogs to groupB and next belongs to GroupC.

All the Rows in the Arraylist already has a child row merged in it.

while assigning this Arraylist to my Grid, I can able to see the parent and child relationship for all the rows, am very happy about it.

But I need to put them in Group order(ABC) as well, how to do that ??

for example, in my grid, i need to see only 3 Groups, by clicking the plus sign I need to see the parent row and the corresponding child row for that group alone.

 

please help me, looking for your reply...!!

With Thanks & Regards

Amjath

Parents
  • 469350
    Verified Answer
    Offline posted

    Hi Amjath,

    It sounds like you are looking for the OutlookGroupBy feature in the grid. This allows you to group the grid by the values of a column and create a sort've artificial hierarchy for flat data.

    If you want to group by some field that is outside of the grid data, then what you should do is add an unbound column to the grid and use the InitializeRow event to populate that unbound column with the external value you need. Then you can group by the unbound column.

Reply Children
No Data