AD
Administrator
Syncfusion Team
April 28, 2006 05:51 AM UTC
Hi Craig,
The number of data rows in a GridGroupingControl can be retrieved by this.gridGroupingControl1.Table.Records.Count In GridGroupingControl you won’t set the HeaderCount, but in causes like multiple rows per record the spanned row header information can be retrieved with help of this.gridGroupingControl1.TableModel.GetRowHeaderRange method. The row 0 in the GridGroupingControl will have a GridHiddenSection which is needed for the scrolling logic in the GridNestedTableControl. Since there will is a hidden section, always the column header row index will be above zero. When the caption section is hidden and when the column header is displayed at the top, the row index of the column header will be one. Let us know if you have any further queries.
Regards,
Calvin.