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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to expand a collapse column, like Excel?

Thread ID:





49272 Sep 14,2006 03:56 PM UTC Sep 15,2006 04:54 AM UTC WinForms 1
Tags: GridControl
Najmeh Joze-khajavi
Asked On September 14, 2006 03:56 PM UTC

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

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

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.




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

or the page will be automatically redirected to 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