>
>
> This means that all cells have the same subcells? What I need is to have 
> differet subcells for different rows. I need to fill the composite cell 
> differently for different rows.
>

I would just implement a custom cell that simply decides how to render 
itself based on the row value. If the row is editable add an edit 
link/button, if its not don't render it. Same with the other links/buttons 
you want to display. The cell would consume click events and in its event 
method you can figure out which link/button has been clicked and then start 
the action you need to start.
To render the cell differently the cell should know a SafeHtmlTemplate with 
methods that: a.) generate the basic cell structure and b.) generate your 
link/button.

This shouldn't be that hard to implement and it seems to be a lot cleaner 
than "misuse" CompositeCell somehow or extend GWT cells that don't really 
fit your needs and try to convince them to do what you want.

-- J.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/WtEjcrw52hMJ.
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