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.

Making the last column width bigger

Thread ID:

Created:

Updated:

Platform:

Replies:

59610 Apr 18,2007 09:51 AM Apr 18,2007 01:29 PM Windows Forms 1
loading
Tags: GridControl
mike
Asked On April 18, 2007 09:51 AM

It doesn't seem to be possible for a user to resize the last (rightmost) column to any size they want, as it won't let you resize the cell wider than the scroll bar at the bottom.

In excel you can re-click right on the scroll bar and it gives you some more "grey background" to resize the column into, but syncfusion grid doesn't seem to do this.

Is there any way of making this work in the grid?

Cheers
Steve

haneefm [Syncfusion]
Replied On April 18, 2007 01:29 PM

Hi Steve,

If you want to allow the user to drag the mouse outside the grid client area and resize the specific row or column, you need to turn on the AllowDragOutside flag to the ResizeColsBehavior/ResizeRows Behavior property. Here is a code snippet.

this.grid.ResizeColsBehavior = GridResizeCellsBehavior.AllowDragOutside | GridResizeCellsBehavior.ResizeSingle;
this.grid.ResizeRowsBehavior = GridResizeCellsBehavior.AllowDragOutside | GridResizeCellsBehavior.ResizeSingle;

Best regards,
Haneef

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.

;