List of usage examples for com.google.gwt.gen2.table.event.client PageLoadEvent TYPE
Type TYPE
To view the source code for com.google.gwt.gen2.table.event.client PageLoadEvent TYPE.
Click Source Link
From source file:edu.caltech.ipac.firefly.ui.table.BasicPagingTable.java
void highlightRow(boolean doPageLoad, int idx) { final Integer cIdx = idx; if (getDataTable().getRowCount() > 0) { int rowIdx = getTableIdx(idx); if (rowIdx < 0 && doPageLoad) { if (highlightTracker == null) { highlightTracker = new HLTracker(); this.addHandler(PageLoadEvent.TYPE, highlightTracker); }/* w w w . ja va2 s .c o m*/ highlightTracker.setHlIdx(cIdx); gotoPage(idx / getPageSize(), false); return; } if (rowIdx >= 0) { getDataTable().selectRow(rowIdx, true); } } }