Hi,
I have an UltraGrid with multiple rows.When I set the selectedRowAppearance.ForeColor, itbecomes applicable to all the selected rows.Is there a way to set the SelectedRowAppearanceproperty for a single row at runtime ??I dont want this property to affect all the selected rows.
Thanks,Sid.
Hi Sid,
I don't think you can do this for a row. But there is a SelectedAppearance on the Cell in the latest version of the grid. So you could set the SelectedAppearance.ForeColor on each cell.
Hi Mike,
I will iterate through the desired row and try that property for each cell.Thanks.!!
-Sid.
Hi Mike,I tried doing that , but if I select a single row it doesnt work. However, If I select multiple rows, it does work for all the rows other than the one I selected last. --Sid.
Probably because the last selected row is the active row. There are several appearances that can override cell.SelectedAppearance, in order of precedence:
band.ActiveRowCellAppearanceband.ActiveRowAppeararncegrid.ActiveRowCellAppearancegrid.ActiveRowAppearance
In addition, in v9.2 (though I haven't tried this yet), there is a cell.ActiveAppearance that would override all of these.
--Bob