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. Image for the cookie policy date

Summary Row for DataBound grid

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 ?

1 Reply

AD Administrator Syncfusion Team 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.

Live Chat Icon For mobile
Up arrow icon