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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Summary Row for DataBound grid

Thread ID:

Created:

Updated:

Platform:

Replies:

26739 Mar 31,2005 01:32 AM UTC Mar 31,2005 07:56 AM UTC WinForms 1
loading
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.

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.

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

;