Table Property Listener


i´ve got a table with some checkbox items in it. i want to enable the table footer by checking a checkbox. is there a listener or something to do this very simple?

thx for help

Erm: not sure I understand entirely. Simply add a ValueChange listener to the checkbox(es?), that calls table#setFooterVisible

e.g. final Table table = new Table(); CheckBox checkBox = new CheckBox("Show Table Footer"); checkBox.addValueChangeListener(new Property.ValueChangeListener() { @Override public void valueChange(Property.ValueChangeEvent event) { Boolean checked = (Boolean) event.getProperty().getValue(); table.setFooterVisible(checked); } });

hmm sometimes it can be so easy :smiley: