On Thursday, April 7, 2011 5:39:40 PM UTC+2, cvh wrote: > > Hello all, would be grateful for any ideas. > > Requirement > ------------------ > (A) table containing > A.1 text columns > A.2 one column for HTML content > A.3 one column to house a radio button group > > (B) ability to page through records, e.g. by use of SimplePager. > > > Alternatives considered so far > ----------------------------------------- > 1. FlexTable - can provide all of (A) but not (B) > 2. CellTable - can provide A.1 and (B), but not A.2 nor A.3 >
yes it can! A.2: use a SafeHtmlCell and implement the Column's getValue to return a SafeHtml (for instance, SafeHtmlUtils.fromTrustedString(stringValue), or maybe SimpleHtmlSanitizer.sanitizeHtml(stringValue)) A.3: you can use a CheckBoxCell bound to the selection and use a SingleSelectionModel (you can even copy/paste the code for that from the Showcase http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable –click on Source Code above the sample to see the source, and search for the CheckBoxCell). You'll also find in this group some sample code for a similar Cell rendering a radio button instead of a checkbox. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. 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.
