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.

Problems with sizes

Thread ID:

Created:

Updated:

Platform:

Replies:

8819 Nov 21,2003 03:58 AM Nov 21,2003 04:45 AM Windows Forms 1
loading
Tags: GridControl
Ivan Fernandez
Asked On November 21, 2003 03:58 AM

Hi, I'm having a little problem with sizes. I'm trying to fit dinamicaly the size of the list to the number of rows showed. The problem is that the list is always showing me a gap just below last row. I attach a little project where you can reproduce the problem. If I reduce the heigth of the list just only 1px, the HScrollBar appears, but I don't want to show the gray gap neither the HScrollBar. Thanks, Iván.

Administrator [Syncfusion]
Replied On November 21, 2003 04:45 AM

In your sample, I think you can get what you want by using code like: gridDataBoundGrid2.Size = new Size(244, 4 * 17); gridDataBoundGrid2.HScrollBehavior = GridScrollbarMode.Disabled; gridDataBoundGrid2.VScrollBehavior = GridScrollbarMode.Disabled; gridDataBoundGrid2.DefaultRowHeight = 17; instead of gridDataBoundGrid2.Size = new Size(244, 85); gridDataBoundGrid2.DefaultRowHeight = 17;

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.

;