Hiding DataGrid Column ?

  • Thread starter Thread starter tony
  • Start date Start date
T

tony

Hi,

How can i *Hide* DataGrid Column ?

Im using Net compact framwork 2 , sp2 .

Thanks.
 
If you make the column width zero it will be pretty hard to see. ;-)
 
If you make the column width zero it will be pretty hard to see. ;-)
 
Hi .

Believe me i did it before asking..:)

I try to hide 8 columns, and you see small space, in this width >_<
In mobile device screen is important.


If there is other way, i will be glad to read about it.

Thanks.

(sorry for the wrong english syntax).
 
Hi .

Believe me i did it before asking..:)

I try to hide 8 columns, and you see small space, in this width >_<
In mobile device screen is important.


If there is other way, i will be glad to read about it.

Thanks.

(sorry for the wrong english syntax).
 
You could try removing that column from the GridColumnStyles collection.
 
You could try removing that column from the GridColumnStyles collection.
 
Yes.

After i saw i can get the row data from the datasource attached (datatable),
i remove the columns for each state i needed.
this way i display 2 or 5 columns depends on the situation, but always can
get the 5 values from datasource.

Thanks.
 
Yes.

After i saw i can get the row data from the datasource attached (datatable),
i remove the columns for each state i needed.
this way i display 2 or 5 columns depends on the situation, but always can
get the 5 values from datasource.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top