Hi,
We're using an UltraGrid with a ValueList-based column (with a list of operators).I would like to achieve a combination of the DropDownList style and the Button style (screenshot).
If the user clicks on the button, it should toggle the dropdown. Unfortunately, I didn't find a way to achieve this behavior. I've tried to toggle the dropdown in the ClickCellButton, but this has no effect.
Any ideas?
Thanks in advance,
Kevin
Hi Kevin,
I'm a bit confused by your explanation. What exactly are you trying to do?
It sounds like maybe you need to use a DropDownEditorButton in an editor that drops down a control rather than a ValueList, but it's really not clear to me what distinction you are making here regarding the behavior you want and what the ValueList already does.
Hi Mike,
Sorry for the confusion. I'll try to explain it a little better. What I want is a regular DropDownList with the values from my ValueList. But the cell should be drawn as a Button with the selected value from the DropDownList instead of a normal DropDownEditor with the selected value. Clicking on the button should show the DropDownList, just like you click on the DropDownButton next to a DropDownEditor.
What I want is not 1, but 2 in the below picture.
Kind Regards,