I have a ListGridField which has an optionDataSource and is rendered as a SelectItem in an editable ListGrid. I have added an EditorExitEvent to make sure that their selection is not a duplicate of the selection in another row of the grid. If it is a duplicate I show a message and cancel the EditorExitEvent to force them to make another selection. All of that seems to work fine, but I would like to get the display value for the currently selected row in the SelectItem. I don't see any way to access the FormItem that is being exited. Is there a way?
If there is a better way to do this than EditorExitEvent please let me know. The basic requirement is to prevent multiple ListGridRecords from being created with the same value in this field (the SelectItem).
If there is a better way to do this than EditorExitEvent please let me know. The basic requirement is to prevent multiple ListGridRecords from being created with the same value in this field (the SelectItem).
Comment