/** * @param data the data. */ public void setData(List<T> data) { _dataProvider.getList().clear(); if (data != null) { _dataProvider.getList().addAll(data); ColumnSortEvent.fire(_table, _table.getColumnSortList()); } }
sortList.push(column); updatingSortList = false; ColumnSortEvent.fire(this, sortList);
/** * Click on a specific header of a cell table. * * @param table The targeted cell table * @param index The targeted cell header index in the table */ public static void clickHeader(AbstractCellTable<?> table, int index) { BrowserSimulatorImpl.get().fireLoopEnd(); table.getColumnSortList().push(table.getColumn(index)); ColumnSortEvent.fire(table, table.getColumnSortList()); BrowserSimulatorImpl.get().fireLoopEnd(); }
/** * Click on a specific header of a cell table. * * @param table The targeted cell table * @param index The targeted cell header index in the table */ public static void clickHeader(AbstractCellTable<?> table, int index) { BrowserSimulatorImpl.get().fireLoopEnd(); table.getColumnSortList().push(table.getColumn(index)); ColumnSortEvent.fire(table, table.getColumnSortList()); BrowserSimulatorImpl.get().fireLoopEnd(); }
sortList.push(column); updatingSortList = false; ColumnSortEvent.fire(this, sortList);
sortList.push(column); updatingSortList = false; ColumnSortEvent.fire(this, sortList);