Hi,
I am binding a BindingList<T> to a XamDataGrid . Now whenever a new row is added I have to ensure that a particular field (say ID) doesn’t have a duplicate value present in the collection. I tried to set IsPrimary = true on Field, but it doesn’t work. Do xamDataGrid support this feature.
I know i can use the validators in Editors or user IDataErrorInfo on class, but this type of validation is not suited at Model level. It good if it is driven by View/Control or ViewModel.
Thanks,
Deep
HI,
Here is a forum post that addresses this issue.
http://community.infragistics.com/forums/p/53173/276043.aspx#276043
It uses a static hash table property to keep track of unique values.
Sincerely, Matt DSE