Just a thought here... Perhaps the CellEditInfo class could be
enhanced to add:
  * The original value (before the edit started)
  * The proposed new value

This would give the setCellValue() method access to the complete
information about the edit.

thanks again,

jay

On Jun 4, 12:09 pm, jay <jay.gin...@gmail.com> wrote:
> I just realized that when you have a cell editor defined for a column,
> after the cell edit is complete, the setCellValue() method is called.
>
> This method does not have enough information, however, for me to
> update my table! It passes the value of the row (which, in my case is
> String[]) and the new value. It seems that to use this method, I'd
> have to search the entire table for a row that matches the passed-in
> rowValue. Then, when I have that row index, I'd be able to update my
> actual data structure.
>
> If I'm wrong about this, please let me know.
>
> Otherwise, as this widget is moved into trunk, please change the
> signature to pass in the CellEditInfo which does contain this
> information.
>
> Thanks,
>
> jay
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to