Hi,
I need to get rows from a band on a wingrid. I need to get the rows from any band. I read somewhere that's not possible to get the rows from multiple band, but if i just want the rows of a specific band how could i do this?
Thanks
To get the rows from the root-level band, you would use the grid.Rows collection.
But when you say "get a rows from any band" what exactly does that mean? There is no single collection of rows for a child band. The rows are broken up into a hierarchy under each parent. So which rows do you want?
You can get all the rows in a band in order to enumerate them using GetRowsEnumerator method on the Rows collection. This method allows you to specify which bands you want rows from and whether you want the GroupByRow, etc.
If you want a specific row under a specific parent, you could use the ChildBands collection of the parent row to get the child rows collection.