The way I handled this was to put a little button in the actual
itemrenderer.
The itemRenderer contains a little button and then, to the right of it, the
text of the cell. When you click the button it actually opens up a small
floating window which is where you do the editing.
When I wrote this code I was a younger flex coder and couldnt get certain
aspects of it right regarding having the editing happen in the cell. But it
actually worked out better from a UI perspective because I can give the user
the opportunity to easily save or cancel. The reason I put the button in the
cell is that as far as I know, there is no good way to indicate that a
specific column is selected. All I can do is select a row. so if you have
multiple columns and only want to edit one, your options are that clicking
on the cell puts you in edting mode, or clicking on a small piece of the
cell (a button) causes you to go into editing mode.
Regards
Hank
On 12/19/06, Pan Troglodytes <[EMAIL PROTECTED]> wrote:
How can I create a button click event that will start editing of the
selected grid column? I want to have a "rename" button for clarity (for
those users who won't guess to click on the item to rename it).
--
Jason