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

Filling the Grid's bottom area with empty rows

Thread ID:





709 Aug 4,2002 07:50 AM UTC Aug 5,2002 05:02 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On August 4, 2002 07:50 AM UTC

Hi, is there a way to fill the grid's bottom area with empty rows? If not, how do I get the bounds of the last visible row? ( so that I might be able to add additonal rows if the bounds of the last visible row isn't covering up the bottom part of the gird) Thanks in advance

Clay Burch [Syncfusion]
Replied On August 5, 2002 05:02 PM UTC

Attached is a sample that does several things to try to get the grid to fill up its client area. The first is to add enough rows so that the entire clientarea is covered (even if it requires a partial row to show). The second try shrinks the client area to be exactly the size required by the grid. The third does a combonation of the first two. It fills up the clientarea, but does not use a partila row. Instead it shrinks it slightly to get an exact fit. The fourth technique gives you a bottomless grid. If you scroll to the end, it adds a row so there will always be another row.


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