I want to change the color of datagrid row at runtime. I have a Windows form (vb.net). On that form i have 3 datagrid some binded to dataset and some to arraylist. I have applied the table style's also. I want to change the one of my datagrid row color on some data condition, and this formating should apply for a particular datagrid and other should not be distrub. I receive the new data in dataset and arraylist every one miniute. I am showing new data in datagrid (append rows). So how can i change the color of the datagrid and when the new row is added to datagrid i sort them in desc so i can get the new values first but when the client area of datagrid is filled means when scroll bar of datagrid get visible then the selected index is not set to the first row.. Its still on the old row how can i slove these problem.
Regarding conditional formatting i have seen meany example but i was not able to apply them for a single datagrid, when i applied it all the datagrid color changes ie all 3 datagrid.
Thanks in advance