Setting style for individual cells in NDataGridView control


Author
Message
Tomas Vera
Tomas Vera
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
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
Angel Chorbadzhiev
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
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
Tomas Vera
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
Posts: 6, Visits: 1
I found my answer.
If I set "EnableCellCustomDraw" to "False", the style I set programatically is observed.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search