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.
Unfortunately, activation email could not send to your email. Please try again.

Summary Row for DataBound grid

Thread ID:

Created:

Updated:

Platform:

Replies:

26739 Mar 30,2005 08:32 PM Mar 31,2005 02:56 AM Windows Forms 1
loading
Tags: GridControl
Michael Feinstein
Asked On March 30, 2005 08:32 PM

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 02:56 AM

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.

CONFIRMATION

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.

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.

;