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.

How to expand a collapse column, like Excel?

Thread ID:

Created:

Updated:

Platform:

Replies:

49272 Sep 14,2006 11:56 AM Sep 15,2006 12:54 AM Windows Forms 1
loading
Tags: GridControl
Najmeh Joze-khajavi
Asked On September 14, 2006 11:56 AM

I have two kind of grids:
1- Grid control and
2- Grid Data Bound Grid Control
and I like to have the following behavior in both of them.

Assume my grids have 4 columns, test_id, test_name, comment and result.
Most of the time our user wants to collapse (hide) the comment column. He can do that by using mouse pointed to the column header divider and drag it and make the column completely invisible (column width = 0). But then later he wants to expand (make it visible) the comment column but he can''t. In Excel when I want to expand that specific column by mouse the mouse indicator changed from a cross kind of shape to double vertical line cross. When it is double vertical line cross, it actually expands the invisible column. How can I have this behavior? Do I need to set MinResizeColSize to a small number? We are using Syncfusion 4.1.0.62.


Administrator [Syncfusion]
Replied On September 15, 2006 12:54 AM

Hi Najmeh,

You can set the MinResizeColSize property of the grid to "2". or you will have to handle the ResizingColumns event to unhide the column. Please refer the below forum thread for more details.

http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=48019

Thanks,
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.

;