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

Hidden col

Thread ID:





26642 Mar 29,2005 11:41 AM UTC Mar 29,2005 01:18 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On March 29, 2005 11:41 AM UTC

I made a procedure that reorganize column order. However i experience some problems with the Hidden cols. It looks like _grid.Cols.Hidden["colA"]=true; has no effect... I use grid v2.0.5.1

Administrator [Syncfusion]
Replied On March 29, 2005 01:18 PM UTC

If _grid is a GridControl, this will not work as this control does not track column names. You would have to write a method, NameToColIndex, that accepts a string and loops through grid[0, colIndex].Text looking for this string, returning colIndex when it found it. You could then use colIndex as an index to set the Hidden property. If it is a GridDataBoundGrid, then it should work.


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

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