Groups | Blog | Home
all groups > dotnet compact framework > august 2004 >

dotnet compact framework : DataGrid question.


Eduardo S.E. de Castro
8/31/2004 10:10:53 PM
Hi,
does anyone know how can I create a datagrid where lines can have
distinct text colors?

Example: first line = text red;
second line = text black...

Thank You,
Eduardo Castro - MCSA/MCP

Alex Feinman [MVP]
9/2/2004 10:11:10 PM
Not text. I managed to get the cell background colored, but that's pretty
much the extent of what you can do with the standard datagrid control
http://www.alexfeinman.com/download.asp?doc=DataGridEvenOddRows.zip


--
Alex Feinman
---
Visit http://www.opennetcf.org
[quoted text, click to view]

mrjrogers
11/17/2004 9:49:04 AM
Alex,
Thanks I Added a buffer to your code and added column support to make
Individual Cells Change color reach me at mrjrogers@hotmail.com if you would
like a modified copy. I know alot of people that want to know how to modify
the backgroud colors of a datagrid. If anyone would post this to a website I
would be pleased.

John R.
[quoted text, click to view]
AddThis Social Bookmark Button