Rather than put the ID in the flextable or grid, I hang on to the
returned data and use that.

a. After the RPC call, on success, I assign the result to a class
field:
          data = result;

b. Then when I have a row number to process, I do something like this:
          processRecord(data.get(clickedRow).id);
          // or if its more than one field you are interested in...
          // processRecord(data.get(clickedRow));

It works as long as your displayed data is not resorted and still has
all the rows of the ArrayList that was returned, because there is a
one to one correspondence between the displayed data and the RPC
result.

On Jun 5, 8:35 pm, alexl <[email protected]> wrote:
> I want to have a hidden column for the row id, or is there a better
> way to do it? so I can tell the corresponding mysql db delete from
> table where rowid=rowid

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to