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

Grid "Footer"

Thread ID:





6385 Aug 11,2003 05:04 PM UTC Aug 14,2003 02:01 PM UTC WinForms 3
Tags: GridControl
Asked On August 11, 2003 05:04 PM UTC

I need to create, essentially, a "footer"... in the grid... really just a header at the last row, that does not scroll. Other than creating a split at the next to last row, is there any way to do this. What I don't like about the split is the potential of showing the same row twice, and that's confusing to folks. It's NOT a databound grid. Thanks Eric

Administrator [Syncfusion]
Replied On August 12, 2003 05:14 PM UTC

Right now, the only way to do this is to create a second grid with just one row (or zero rows showing just the header row) that is placed below your other grid. You could override QueryColWidth and return the same column sizes from the parent grid so that the column sizes are in sync. You could embed both grids inside a UserControl. That way you could treat that user control with two grids as one entity. Stefan

Administrator [Syncfusion]
Replied On August 12, 2003 05:36 PM UTC

Attached is a rough sample of what Stefan described. It has a usercontrol with scrollbars and 2 grids added. In this sample, the application sets the summary row to contain formula cells that sum the contents of the columns.

Replied On August 14, 2003 02:01 PM UTC

Very clever. Thanks


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

Live Chat Icon For mobile
Live Chat Icon