Re: can I have a hidden column in a flextable

2010-06-07 Thread alexl
thanks. one followup, I have the edit/delete buttons in their own table cell in each row. How do I tell which row they were in? I'm trying button.getElement().getParent() but not sure where to go from there. thx On Jun 6, 2:38 pm, Dan danpr...@gmail.com wrote: Rather than put the ID in the

Re: can I have a hidden column in a flextable

2010-06-07 Thread Dan
You won't have to know what row the clicked button is in if when you add each button to the table you add a click handler, and in the onclick method do something like this (assuming you are in a for loop with the counter of i when you populate the table): handleEditButtonClick(data.get(i));

Re: can I have a hidden column in a flextable

2010-06-06 Thread Dan
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:

can I have a hidden column in a flextable

2010-06-05 Thread alexl
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