Hi,
I would like a cell to be the mix of two styles - DropDown and EditButton. That means the cell should have a text box and two buttons - the drilldown button (...) and the dropdown. Is that possible?
Thanks,
Vitaly
Hi Vitaly,
You do not have to build a custom control, you can do this with an existing editor control. Use either an UltraComboEditor or UltraCombo control. Use the ButtonsRight collection to add any buttons you want, in addition to the dropdown button. Then set the EditorControl property of the grid column to the UltraComboEditor or UltraCombo.
Hello,
I am using the same editor to accomplish the exact same thing in my grid, however I was wondering why once you have added the Edit Button to the combo editor its displays itself before the drop down button. Is there a way to make the edit button display to the right of the drop down button?
Adrian
Hi Adrian,
Unfortunately, no, there's no way to have the editor button outside the built-in dropdown button.
If you really wanted to work at it, you could remove the "real" dropdown button and add another editor button with another dropdown control on it, like a WinGrid. But then you would have to re-implement a lot of the stuff that the Combo does for you, like auto-complete. So that's probably not a good solution.
Hi Mike, I know this post is old, but I am currently looking for a solution to have editor buttons on the right of the "real" dropdown button, and be able to use it in an UltraGrid column, is there any alternative besides reimplementing to this or is there any feature that did not exist when this post was created?
I am using NetAdvantage 2011.2
Thanks!
Hi Andres,
Nothing has changed in this area in terms of new functionality. It might be theoretically possible to achieve something using a CreationFilter to just move the elements around, but I think it might be pretty tricky. Which control are you using and what kinds of editor buttons do you need?