Dear all,
I want the ultra grid row[i] to show specific background color according to the data in the row[i].cells["xxx""].
How can I do? Is there any sample code?
Hi,
If you want a color or row or a cell based on a value of a cell, then the best way to do that is to use the InitializeRow event. There is sample code in the help. There's also some sample code in the WinGrid Performance Guide which shows the most efficient way to do this.
Click the More button to see the whole post and then scroll down to the Memory Usage section.
If I want to use coding to control, how to do? Is there any sample code??
Hello,
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
Hello rchiu5hk,
I believe that you are looking for our 'Conditionally formatting cells' functionality. Please take a look at the following link:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.1/CLR2.0/html/WinGrid_You_Can_Now_Conditionally_Format_Cells_in_a_WinGrid_Column_Whats_New_20071.html
and let me know if you need any additional assistance.