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

Summary Row for DataBound grid

Thread ID:





26739 Mar 31,2005 01:32 AM UTC Mar 31,2005 07:56 AM UTC WinForms 1
Tags: GridControl
Michael Feinstein
Asked On March 31, 2005 01:32 AM UTC

I am trying to implement Summary Row for DataBound grid. Everything is working great with one caveat: my row does not appear at the bottom of data, but appears at the bottom of the grid instead. In the sample SiteSummaryRow the grid position is calculated using grid.GridBounds, but those represent control size, not the size of the actual grid. For example if I only have 4 rows then there is huge empty space between 4 rows and total row. Is there better way to find out grid dimensions to position summary row properly ?

Administrator [Syncfusion]
Replied On March 31, 2005 07:56 AM UTC

You can try changing the grid.GridBounds.Height to be grid.Model.RowHeights.GetTotal(0, grid.Model.RowCount). You may have to add 1 or 2 pixels to adjust for any borders you want to see.


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

or the page will be automatically redirected to 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