Srihari
Srihari

Reputation: 2429

How to set condition on Repository LookupEdit in Gridview Winform Devexpress?

I have Gridview & in 1st Column have Repository LookupEdit. If I select one item on Repository LookupEdit again I don't want to choose same Item. How to set this condition on the Repository LookupEdit ?

Upvotes: 0

Views: 2853

Answers (1)

Tratak
Tratak

Reputation: 168

You have to create a conditionally source for Lookupedit.

Here are some samples:

https://www.devexpress.com/Support/Center/Question/Details/DQ13616

I think this code is what you need, but you have to use the selected column in place of the second one:

https://www.devexpress.com/Support/Center/Example/Details/E898

Upvotes: 1

Related Questions