How to add CompositeCell to the CellTable
I am trying to CompositeCell with three checkboxes and a button
{
private CheckboxCell cell = new CheckboxCell();
@Override
public Cell<Boolean> getCell()
{
return cell;
}
@Override
public FieldUpdater<Contact, Boolean> getFieldUpdater()
{
return null;
}
@Override
public Boolean getValue(Contact object)
{
return object.control;
}
});
final CompositeCell<Contact> compositeCells = new CompositeCell<Contact>(hasCells);
But how do we add this cell to the CellTable and how to provide the text for the Checkboxes. I couldnt find any examples of this in gwt samples.
-- 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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home