List of usage examples for com.google.gwt.user.cellview.client Column isDefaultSortAscending
boolean isDefaultSortAscending
To view the source code for com.google.gwt.user.cellview.client Column isDefaultSortAscending.
Click Source Link
From source file:com.gafactory.core.client.ui.grids.BaseListGrid.java
License:Open Source License
public void setDefaultSortingColumn(Column<?, ?> column, boolean isAsc) { column.setDefaultSortAscending(isAsc); ColumnSortList columnSortList = dataGrid.getColumnSortList(); columnSortList.push(column);// w w w . j a v a 2s. co m ColumnSortEvent.fire(this, columnSortList); loader.addSortInfo(new SortInfoBean(column.getDataStoreName(), column.isDefaultSortAscending() ? SortDir.ASC : SortDir.DESC)); }