I''ve got a master/detail dataset that I''m displaying in a grid grouping control.
I would like to display the first detail record on the same row as the master record, sort of "flattening" out the groups. The problem is that I still want to suppress redundant fields from the master record, and only display them after a "group" break.
Uh, this is probably confusing, so I''ll sketch it out:
CompanyName1 Order#1 OrderQty
CompanyName2 Order#1 OrderQty
...and so on.
Is there a good way to do this with the GridGrouping control? Or should I be using some feature of a regular databound grid.
ADAdministrator Syncfusion Team May 5, 2005 01:32 PM
Some formatting was lost in the above post. It should really show the Order# and OrderQty columns as being "aligned" for all rows.
ADAdministrator Syncfusion Team May 5, 2005 01:43 PM
Do you still want to be able to collapse and expand the master rows? Or, are they always expanded?
If they are always expanded, it might be easier to do this if you think of adding the master information to the first row of the details, and not thinking about it as adding the first row of the details to the master row.
Depending upon whether you need the +/- available, maybe I can suggest something.
ADAdministrator Syncfusion Team May 5, 2005 01:46 PM
No, I do not need to be able to expand/collapse the groups. It''s more like a single result set, with duplicates suppressed.
ADAdministrator Syncfusion Team May 5, 2005 02:46 PM
Here is a try at this using a GriddataBoundGrid.
ADAdministrator Syncfusion Team May 5, 2005 02:58 PM
Wow. Thanks, I''m going through your example right now.
Have I mentioned how fantastic Syncfusion support is?