Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
Conditionally add items to the UltraComboEditor inside UltraGrid
posted

I have following data in a lookup table.

ID Category Deleted
1 Electronics False
2 Personal Care True
3 Smartphones False

I have an editable UltraGrid that allows users to select a category for each row, using a column having UltraComboEditor to display categories.

Users can only select categories that are not deleted i.e. Electronics and Smartphones. However, if the row already has a record that references deleted category (Personal care, Id=2), it should be added to the list of items in the UltraComboEditor

For all new rows, it UltraComboEditor should only contain non-deleted categories.

My Category column is similar to EmployeeID column in the following snapshot:

How can I accomplish that?

Thanks

- Talha