PC Review


Reply
Thread Tools Rate Thread

DataGrid and Row Color

 
 
Tom Holmes Jr.
Guest
Posts: n/a
 
      3rd Nov 2007
I've spent the last four days, 10 hours a day on Google looking for an
answer to this question and have gotten very confused.
I have .NET CF 2.0 SP2, Visual Studio .NET 2005 Pro, Dell Axim x51 PPC with
Windows Mobile 5.0.

My understanding is that we have the DataGrid and not the DataGridView,
right?

When I click on ONE row, I can get the column number and row number ... I
want to change the background color of that entire row.
If I can do one, I can do many ... I'd like a method that takes a row number
and color, and changes the entire row to a new background color.

I've seen dozens of examples on overriding paint ... do I need to ... that
method (to me anyway) implies that after the grid is loaded, cells with
certain values
will change automagically. That's not what I want. I want certain rows
when I click on them to change .... or when I select a group of rows, I want
them ALL to change the background color.

I found one example that almost works ... except it's looking for
"GetColumnValueAtRow." Then some gentleman refers us to the Microsoft CF
Datagrid page that basically says the PPC datagrid has limited
functionality????????????????
WTF? Hey, if you can't use it, then just say so ... this is akin to
saying: RTFM!!!
Is there a workaround or are we just screwed and can't do it.

Anyway, every example on the net leads me back to about a dozen examples ...
all of which don't work for me.
I mean how many links indexed by different pages can point you back to the
same newsgroups.

Why, oh why, oh why does the datagrid not expose it's rows to a background
color change??????????????????????????
I shouldn't have to go through hoops. If anyone has any easy ways of
dealing with this, please let me know .............

Thanks!
Tom

 
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
Set row color of a datagrid when more than one datagrid on a form =?Utf-8?B?TWlrZSBCYXVnaA==?= Microsoft C# .NET 2 26th Sep 2006 04:26 PM
DataGrid BackGround Color and Update dataGrid msp Microsoft Dot NET Compact Framework 3 27th Apr 2005 08:33 PM
Color a Row in Datagrid Roman Microsoft Dot NET Compact Framework 2 14th Jan 2005 04:10 PM
Datagrid.color Phoebe. Microsoft Dot NET Framework Forms 0 10th Feb 2004 06:55 AM
different color in the datagrid james ou Microsoft Dot NET Framework Forms 1 18th Nov 2003 12:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:04 PM.