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: