We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Row counts and header counts

Thread ID:





43634 Apr 27,2006 06:50 PM UTC Apr 28,2006 05:51 AM UTC WinForms 1
Tags: GridControl
Craig Glencross
Asked On April 27, 2006 06:50 PM UTC

Is there some properties that show you the number of actual rows of data in a grid and another for the number of headerrows in that grid. Also what is row 0? It shows how many rows are in a grid automatically. Is there a way to set the Group Grid Control up so that the first row is the header and the rest are the data rows from a dataview object? Thanks.

Administrator [Syncfusion]
Replied On 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.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon