On Tuesday, April 17, 2012 9:13:05 PM UTC+2, Markandayarushi Pamu wrote:
>
> Hi All, 
>
> I have one different requirement in CellTree. 
>
> Currently CellTree has once cell for each node, in that cell we can 
> give the html content and give the events for that node item. 
>
> onclick of the whole node anywhere event will fire. 
>
> But my requirement is, I want to create 2 buttons like (Edit and 
> Delete) in the celltree node item, onclick of the 2 buttons I need 2 
> separate events, 
> so that I can write Edit and Delete functionality .. 
>
> Is this possible with CellTree???
>

Yes, either write your own Cell, or use a CompositeCell with a TextCell and 
2 ActionCell.

Have a look at 
http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTree which uses 
a checkbox for selection.
 

-- 
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/-/6pz9U95Xy-IJ.
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