Select All Lines

Hi,

i would like to create a button, for select all lines in a table (similar to multiselect), but select all lines at same time.

It’s possible?¿

Solved!

Add reference to table:


public class PresupuestosEdit extends AbstractEditor<Presupuestos> {

    @Inject
    private Table<PresupuestosLineas> lineasTable;

.....

Call reference and see all options.


public void seleccionarlineas(Component source) {
        lineasTable.selectAll();
    }