Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 09-06-2009
Member
 
Join Date: Feb 2009
Posts: 47
How to set and hide the Datagrid column in Compact Framework

hello everyone,

How can I set and hide the datagrid column in compact framework. Does anybody have the knowledge regarding this.
Please give some useful and necessary suggestions/ideas ....thanks
Reply With Quote
  #2  
Old 09-06-2009
Member
 
Join Date: Jan 2008
Posts: 3,751
Re: How to set and hide the Datagrid column in Compact Framework

Instead of hiding the datagrid column, you can set the width of the column to zero so that the column would be hardly visible and you will get the result you want.
try, set columnWidth = 0
Reply With Quote
  #3  
Old 09-06-2009
Member
 
Join Date: May 2008
Posts: 3,313
Re: How to set and hide the Datagrid column in Compact Framework

You can also try removing the datagrid columns from the GridColumnStyles collection. Also, you can hide the columns with the cascading style sheets. But I don't have a complete idea around that...
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to set and hide the Datagrid column in Compact Framework"
Thread Thread Starter Forum Replies Last Post
Configuration File Settings for the .NET Compact Framework Bankebihari Software Development 3 10-06-2009 07:01 AM
Calculating sum of column in datagrid Chrisch Software Development 3 09-06-2009 10:07 AM
.net Compact Framework autosize textbox Avanindra Software Development 2 04-06-2009 07:24 PM
Auto hide rows and column in Excel 2007 Murena Windows Software 3 28-02-2009 07:00 PM
Adding a new column in datagrid at runtime? Leena Software Development 3 13-02-2009 07:00 PM


All times are GMT +5.5. The time now is 04:27 PM.