简体   繁体   中英

Infragistics - Ultragrid - Group rows into categories

I would like to group rows in categories like that:

例

I know how to do this with OutlookGroupBy but its not possible to put the same row into severals categories

So is there a way to group rows while beeing possible to put the same row into several categories at the same time?

My ultragrid is bound to a dataset

First thing coming to mind is to add another table to your dataset and create category rows in the new table, then add a data relation between the two and use the category table as datasource for the grid.

Thus you effectively build your own "groupings". It's a little more work but my best guess to get the grid do this is to use creation filters - which would be a lot more difficult and time consuming.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM