Example usage for com.vaadin.data.provider GridSortOrder asc

List of usage examples for com.vaadin.data.provider GridSortOrder asc

Introduction

In this page you can find the example usage for com.vaadin.data.provider GridSortOrder asc.

Prototype

public static <T> GridSortOrderBuilder<T> asc(Column<T, ?> by) 

Source Link

Document

Creates a new grid sort builder with given sorting using ascending sort direction.

Usage

From source file:org.jpos.qi.minigl.TransactionsView.java

License:Open Source License

@Override
public void showGeneralView() {
    super.showGeneralView();
    editMode = false;/* w ww . j  av a2s. co m*/
    shouldReverse = false;
    if (getGrid() != null) {
        getGrid().setSortOrder(GridSortOrder.asc(getGrid().getColumn("id")));
    }
}