Hi,
Is there an UltraGridCell value update event?? I want to change the appearance of a cell and the row when the value changes. I am not interested in ValueBasedAppearance property on the column because the appearance is based on my own code.
Is there such an event? Like CellValueChanged?
Regards,
Taiyib.
Probably. It depends on your data source. If you are using an UltraDataSource or a DataSet or some other robust DataSource that implements IBindingList, then yes. As long as the data source notifies the grid of the change, then the InitializeRow event will fire.
Does the InitializeRow event fire if I change the data in the ultragrid's data source? The data is not changed by the end user, it is changed by an external data provider component.
If you want to color a cell based on the value of that cell, you would typically use the InitializeRow event.
But if you want to update teh appearance of the cell as the user is typing, the event you are looking for is CellChanged. But keep in mind that you cannot use the Value property of the cell inside this event, because the user is not necessarily done typing. So you have to use the Text of the cell.