Nevron Forum

Setting style for individual cells in NDataGridView control

https://www.nevron.com/Forum/Topic3207.aspx

By Tomas Vera 1 - Monday, March 8, 2010

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
By Angel Chorbadzhiev - Tuesday, March 9, 2010

Hello Tomas,

Please, check the following topic:

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

Regards,

Angel.

By Tomas Vera 1 - Tuesday, March 9, 2010

I found my answer.
If I set "EnableCellCustomDraw" to "False", the style I set programatically is observed.