Profile Picture

Setting style for individual cells in NDataGridView control

Posted By Tomas Vera 14 Years Ago

Setting style for individual cells in NDataGridView control

Author
Message
Tomas Vera
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 6, Visits: 1
Hello All,
(New to Nevron controls)
I am using a NDataGridView control and am having difficulty setting the style for individual cells in the grid.
(Actually, I can't even find any docs on the NDataGridView class itself!).

I need to set the cell background color based on the current value of the cell.

What is the proper way to set the background/foreground color of an individual cell?

Thanks,
-tomas

Angel Chorbadzhiev
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 139, Visits: 184

Hello Tomas,

Please, check the following topic:

http://forum.nevron.com/shwmessage.aspx?ForumID=2&MessageID=2807

Regards,

Angel.



Tomas Vera
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 6, Visits: 1
I found my answer.
If I set "EnableCellCustomDraw" to "False", the style I set programatically is observed.




Similar Topics


Reading This Topic