Hi,
I'm using an UltraGrid which is bound with a DataSet, when the layout of the UltraGrid is initialized, I add unbound columns to it.
My problem is, when an error occured on an unbound column, I want to display a message on it with the DataRowView but the property ListObject of the UltraGridRow does not contain the unbound columns so I'm not be able to set the column error message.
Here is what I'm trying to do (In the Error event of the UltraGrid) :
DataRowView dataRowView = (DataRowView)e.DataErrorInfo.Row.ListObject; ... dataRowView.Row.SetColumnError('column in error', 'error message');
How is it possible to display an error on an unbound column ?
Thank you
You cannot apply a DataErrorInfo to an unbound column.
You could achieve what you want by adding your unbound column to the DataTable, thus making them into bound columns.
Ok, that's what I thought, I was hoping there is another solution
Thanks