I haven't been able to find the following functionality:
Is there any way of achiving this with the UltraDropDown or do I need to switch to an UltraCombo. This is used as the ValueList for a column of an UltraGrid.
Thanks, Dave
Further clarification.
I have several cells in my UltraGrid that use dropdown selection. These need two different sets of functionality.
Since I didn't see any way to do this with an UltraDropDown I switched to an UltraCombo. This isn't working either because:
Hi Dave,
You need to set the Style of the grid column to DropDownList or maybe DropDownValidate.
Mike,
That takes care of limiting the user to choosing only what is in the list (style = dropdownlist) but I still can't figure out how if the user enters a value that isn't in the list to catch that and be able to prompt the user as to what they want to do with it.
Setting the style to dropdown results in the functionality stated in the previous post.
Setting it to dropdownvalidate results in the following error message when you try to leave the cell. "Unable to update the data value: Value in the editor is not valid." I haven't been able to find an event that catches this. What am i missing?
This message can be caught and cancelled in an event of the grid. I forget exactly which one. I think it's CellDataError, but it might be Error. So try trapping one of those and you can cancel the default error message and display your own prompt.
That was what I was missing. I looked for something like this the other day but obviously missed it.