MultiSortDialog
, from the "widgets" packagspublic class MultiSortDialog
extends java.lang.Object
SortSpecifier
s.
Each SortSpecifier applies to a single property and direction - so, for instance, in a grid with two columns, year and monthNumber, you could sort first by year in descending order and then by monthNumber in ascending order. T his would producing a grid sorted by year from largest (most recent) to smallest (least recent) and, within each year, by monthNumber from smallest (January) to largest (December).
Constructor and Description |
---|
MultiSortDialog()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
askForSort(DataBoundComponent dataBoundComponent,
SortSpecifier[] initialSort,
MultiSortCallback callback)
Deprecated.
In favor of the implementation in the "widgets" package -
com.smartgwt.client.widgets.MultiSortDialog.askForSort() |
static void |
setTitle(java.lang.String title)
Deprecated.
Set the default title for the MultiSortDialog.
|
public static void setTitle(java.lang.String title)
title
- the titlepublic static void askForSort(DataBoundComponent dataBoundComponent, SortSpecifier[] initialSort, MultiSortCallback callback)
com.smartgwt.client.widgets.MultiSortDialog.askForSort()
dataBoundComponent
- the databound component to apply the sort toinitialSort
- The initial sort definition.callback
- Called when the user defines and accepts one or more SortSpecifiers. Single parameter sortLevels is an Array
of SortSpecifier or null if the user cancelled the dialog.