Hi,
I have a grid cell which I'd like to have editable text and a pair of editor buttons. I don't think is possible on the grid itself, so I thought I could use a regular ultratexteditor with the two buttons on it, and set this to be the EditorComponent for the column. Of course, this doesn't work because you're only using the control's internal editor. Is there a way to achieve what I'm looking for? I could add two button columns, but then I'll need to add code to prevent them being out of their correct position to the right of the text field I want them associated with. It also wouldn't look as well integrated as I'd like. Is there a way of achieving what I'm looking for?
Kevin
Glad you got this working. I was pretty puzzled by your original post, since this absolutely should work. The only trick to it is that you have to handle the events on the UltraTextEditor in order to trap the button clicks, rather than any event of the grid. And the e.Context in the event gives you the grid cell in which the buttons are being clicked. I understand why this might be confusing, since most of the time, you have to use an event of the grid. But Editor buttons are one of the few rare exceptions to the rule. :)
Hi Mike. When I was searching for how to find which row the event was associated with, I came across a couple of posts like this one. That made me assume the editor button events wouldn't be available. Still seems a bit contradictory - is there something I misunderstood in the linked post?