Hi,

I followed Table View Tutorial and setup a java bean class as followed:

public class TagView {

Tag tag;
private Checkbox attachableCheckbox = null;

TagView(Tag tag) {
        this.tag = tag;
}
public Checkbox getAttachable() {
        attachableCheckbox = new Checkbox();
        attachableCheckbox.setSelected(tag.isAttachable());
}
}

and BXML file:
...
<TableView.Column name="Attachable" width="50" headerData="%isAttachable">
        <cellRenderer>
                <content:TableViewCheckboxCellRenderer />
        </cellRenderer>
</TableView.Column>
...

The checkbox does appear but all are unselected even for selected column.

What's wrong?

Brendan




--
View this message in context: 
http://apache-pivot-users.399431.n3.nabble.com/Usage-of-TableViewCheckboxCellRenderer-tp4022108.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Reply via email to