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.
Syncfusion Feedback

restore column

Thread ID:





48019 Aug 17,2006 09:21 AM Aug 18,2006 09:48 AM Windows Forms 3
Tags: GridControl
Asked On August 17, 2006 09:21 AM

I''ve a problem on grid column, when I try to resize the width of column , and if I click on the blackline between 2 columns , i can resize it, and it I overlap the line with the line of the previous column line , the whole column disappear and there''s no way I can see this column again, it''s been shrunk. how can I restore the column?

Administrator [Syncfusion]
Replied On August 17, 2006 06:02 PM

If you double click the line where the column that you sized down to zero is located, the hidden column will re-appear.

Replied On August 18, 2006 06:59 AM

Hi Clay:
thanks for replying, i tried but it doesnt work...
are there other ways? when i double click on the line the previous column got expanded.. and the column i want to see is still missing..

Administrator [Syncfusion]
Replied On August 18, 2006 09:48 AM

Double clicking works in a GridControl. Are you using a GridDataBoundGrid? If so, you will have to handle an event to unhide the column. You can use grid.ResizingColumns as below to make a double click unhide the column.

private void gridDataBoundGrid1_ResizingColumns(object sender, GridResizingColumnsEventArgs e)
if(e.Reason == GridResizeCellsReason.DoubleClick
&& e.Columns.Left + 1 <= this.gridDataBoundGrid1.Model.ColCount
&& this.gridDataBoundGrid1.Model.Cols.Hidden[e.Columns.Left + 1])
this.gridDataBoundGrid1.Model.Cols.Hidden[e.Columns.Left + 1] = false;


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.

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