The simplest way to add an id to a cell widget is to use the render
method.
A more complex (and ugly) way is to add an loading state changed
handler to the cell list and wait until the table is fully rendered.
Then navigate to the specific cell and modify the element.

cellList.addLoadingStateChangeHandler(new
LoadingStateChangeEvent.Handler() {
                                        @Override
                                        public void onLoadingStateChanged(
                                                        LoadingStateChangeEvent 
event) {
                                                if 
(event.getLoadingState().equals(
                                                                
LoadingStateChangeEvent.LoadingState.LOADED)) {
//pseudo code
Element.as(cellList.getRowElement(ROW_OF_YOUR_BUTTON).getFirstChildElement().getChild(XXX)........).setId("myButtonId");
                                        }

                                        }
                                });

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

Reply via email to