PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 5.00 average.

Hiding DataGrid Column ?

 
 
tony
Guest
Posts: n/a
 
      19th May 2009
Hi,

How can i *Hide* DataGrid Column ?

Im using Net compact framwork 2 , sp2 .

Thanks.


 
Reply With Quote
 
 
 
 
Ginny Caughey MVP
Guest
Posts: n/a
 
      19th May 2009
If you make the column width zero it will be pretty hard to see. ;-)

--

Ginny Caughey
Device Application Development MVP



"tony" <(E-Mail Removed)> wrote in message
news:guumh4$d7$(E-Mail Removed)...
> Hi,
>
> How can i *Hide* DataGrid Column ?
>
> Im using Net compact framwork 2 , sp2 .
>
> Thanks.
>

 
Reply With Quote
 
 
 
 
Ginny Caughey MVP
Guest
Posts: n/a
 
      19th May 2009
If you make the column width zero it will be pretty hard to see. ;-)

--

Ginny Caughey
Device Application Development MVP



"tony" <(E-Mail Removed)> wrote in message
news:guumh4$d7$(E-Mail Removed)...
> Hi,
>
> How can i *Hide* DataGrid Column ?
>
> Im using Net compact framwork 2 , sp2 .
>
> Thanks.
>

 
Reply With Quote
 
tony
Guest
Posts: n/a
 
      19th May 2009
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).

"Ginny Caughey MVP" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> If you make the column width zero it will be pretty hard to see. ;-)
>
> --
>
> Ginny Caughey
> Device Application Development MVP
>
>
>
> "tony" <(E-Mail Removed)> wrote in message
> news:guumh4$d7$(E-Mail Removed)...
>> Hi,
>>
>> How can i *Hide* DataGrid Column ?
>>
>> Im using Net compact framwork 2 , sp2 .
>>
>> Thanks.
>>



 
Reply With Quote
 
tony
Guest
Posts: n/a
 
      19th May 2009
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).

"Ginny Caughey MVP" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> If you make the column width zero it will be pretty hard to see. ;-)
>
> --
>
> Ginny Caughey
> Device Application Development MVP
>
>
>
> "tony" <(E-Mail Removed)> wrote in message
> news:guumh4$d7$(E-Mail Removed)...
>> Hi,
>>
>> How can i *Hide* DataGrid Column ?
>>
>> Im using Net compact framwork 2 , sp2 .
>>
>> Thanks.
>>



 
Reply With Quote
 
Ginny Caughey MVP
Guest
Posts: n/a
 
      19th May 2009
You could try removing that column from the GridColumnStyles collection.

--

Ginny Caughey
Device Application Development MVP



"tony" <(E-Mail Removed)> wrote in message
news:guuq72$e46$(E-Mail Removed)...
> 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).
>
> "Ginny Caughey MVP" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> If you make the column width zero it will be pretty hard to see. ;-)
>>
>> --
>>
>> Ginny Caughey
>> Device Application Development MVP
>>
>>
>>
>> "tony" <(E-Mail Removed)> wrote in message
>> news:guumh4$d7$(E-Mail Removed)...
>>> Hi,
>>>
>>> How can i *Hide* DataGrid Column ?
>>>
>>> Im using Net compact framwork 2 , sp2 .
>>>
>>> Thanks.
>>>

>
>

 
Reply With Quote
 
Ginny Caughey MVP
Guest
Posts: n/a
 
      19th May 2009
You could try removing that column from the GridColumnStyles collection.

--

Ginny Caughey
Device Application Development MVP



"tony" <(E-Mail Removed)> wrote in message
news:guuq72$e46$(E-Mail Removed)...
> 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).
>
> "Ginny Caughey MVP" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> If you make the column width zero it will be pretty hard to see. ;-)
>>
>> --
>>
>> Ginny Caughey
>> Device Application Development MVP
>>
>>
>>
>> "tony" <(E-Mail Removed)> wrote in message
>> news:guumh4$d7$(E-Mail Removed)...
>>> Hi,
>>>
>>> How can i *Hide* DataGrid Column ?
>>>
>>> Im using Net compact framwork 2 , sp2 .
>>>
>>> Thanks.
>>>

>
>

 
Reply With Quote
 
tony
Guest
Posts: n/a
 
      19th May 2009
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.

"Ginny Caughey MVP" <(E-Mail Removed)> wrote in message
news:O3f7%(E-Mail Removed)...
> You could try removing that column from the GridColumnStyles collection.
>
> --
>
> Ginny Caughey
> Device Application Development MVP
>
>
>
> "tony" <(E-Mail Removed)> wrote in message
> news:guuq72$e46$(E-Mail Removed)...
>> 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).
>>
>> "Ginny Caughey MVP" <(E-Mail Removed)> wrote in
>> message news:(E-Mail Removed)...
>>> If you make the column width zero it will be pretty hard to see. ;-)
>>>
>>> --
>>>
>>> Ginny Caughey
>>> Device Application Development MVP
>>>
>>>
>>>
>>> "tony" <(E-Mail Removed)> wrote in message
>>> news:guumh4$d7$(E-Mail Removed)...
>>>> Hi,
>>>>
>>>> How can i *Hide* DataGrid Column ?
>>>>
>>>> Im using Net compact framwork 2 , sp2 .
>>>>
>>>> Thanks.
>>>>

>>
>>



 
Reply With Quote
 
tony
Guest
Posts: n/a
 
      19th May 2009
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.

"Ginny Caughey MVP" <(E-Mail Removed)> wrote in message
news:O3f7%(E-Mail Removed)...
> You could try removing that column from the GridColumnStyles collection.
>
> --
>
> Ginny Caughey
> Device Application Development MVP
>
>
>
> "tony" <(E-Mail Removed)> wrote in message
> news:guuq72$e46$(E-Mail Removed)...
>> 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).
>>
>> "Ginny Caughey MVP" <(E-Mail Removed)> wrote in
>> message news:(E-Mail Removed)...
>>> If you make the column width zero it will be pretty hard to see. ;-)
>>>
>>> --
>>>
>>> Ginny Caughey
>>> Device Application Development MVP
>>>
>>>
>>>
>>> "tony" <(E-Mail Removed)> wrote in message
>>> news:guumh4$d7$(E-Mail Removed)...
>>>> Hi,
>>>>
>>>> How can i *Hide* DataGrid Column ?
>>>>
>>>> Im using Net compact framwork 2 , sp2 .
>>>>
>>>> Thanks.
>>>>

>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dataGrid[ hti.Row, hti.Column ] = ! (bool) dataGrid[ hti.Row, hti.Column ] Jason Huang Microsoft C# .NET 1 21st Dec 2006 08:29 AM
Hiding Column Also hiding text =?Utf-8?B?Q2luZHk=?= Microsoft Excel Programming 0 6th Apr 2006 07:18 PM
bind a dropdown in a column in a datagrid based on the dropdown value selected in another column of the datagrid. vishnu Microsoft ASP .NET 1 25th Mar 2006 02:24 PM
Hiding column/row labels --without hiding entire columns/rows daniel.wolff@csfb.com Microsoft Excel Discussion 2 19th Oct 2005 02:28 AM
Datagrid: Showing and Hiding and image in a datagrid cell. Linda Mason Microsoft C# .NET 0 24th Mar 2004 11:19 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:08 AM.