Hi,
How can I display row/cell errors in UltraGrid whose data source is UltraDataSource?
As I know, for datatable or dataset, I can use DataRow.SetColumnError function to display errors in row/cell.
But when I use UltraDataSource as the data source, I can not find a function or a property to set row/cell errors.
Could anybody help me to deal with this issue?
Thank you~ ^_^
UltraDataSource does not currently support IDataErrorInfo, so there's really no way to do this. You should Submit a feature request to Infragistics.
You could, of course, use the Appearance of the cell to apply an image to any cell in the grid you like. So you could show an error icon and show a tooltip when the mouse is over it and do mainly the same thing that the DataError does.
if i set icon with this code e.Row.Cells[0].Appearance.Image = Icons.Error16; in GridBeforeRowUpdate event handler than this icon sets for all cells in grid. Please advice how to set icon only for one cell?