Friday, December 23, 2011

Re: CellTable CheckboxCell setTitle()

Override the method CheckboxCell.render(..) and add the title attribute as a string (see source of CheckboxCell).

CheckboxCell is part of the CellWidget family and don't extend from Widget, which make them fast and lightweight.

Because they don't extend from Widget that don't have methods like setTitle. 
If you want to use a setTitle() method, then use the CheckBox widget.



--
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/-/sxmfR0lWZsIJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment