Visible Columns

Mar 4, 2010 at 4:13 PM

Hi,

 

First of all thanks for this program it is really useful. Just one thing, in my gridview I can make columns invisble when binding data to a row. Is it possible on this?

 

Thanks

 

Harry

Coordinator
Mar 6, 2010 at 8:05 PM

CoolGridView extends GridView control. Yes, it is possible to make the column invisible by setting the Visible property of the column to False in the code-behind. 

Example code to hide the first column:

CoolGridView1.Columns[0].Visible = false;

Mar 30, 2010 at 12:56 PM
Edited Mar 30, 2010 at 12:58 PM

All --

While it is possible to hide a column, it appears that some minor issues may exist when doing so.

For some more details on the matter, please see the following link...

http://ideasparks.codeplex.com/WorkItem/View.aspx?WorkItemId=5818

...and please do post a workaround or fix if you have one.

HTH.

Thank you.

-- Mark Kamoski