BBjStandardGrid::setSortByMultipleColumns
Description
In BBj 6.0 and higher, this BBjStandardGrid method sets whether a grid will sort by multiple columns.
Syntax
Return Value |
Method |
void |
setSortByMultipleColumns(boolean sortByMultiple) |
Parameters
Variable |
Description |
sortByMultiple |
Specifies whether the grid is to sort by multiple columns. 0 = Not sortable by multiple columns. 1 = Sortable by multiple columns. |
Return Value
None.
Remarks
By default, a grid does not sort by multiple columns.
Consider a grid with two columns; last name and first name. When a grid sorts by multiple columns, a 'telephone book' sort results from a sort by first name and then a sort by last name. If the grid does not sort by multiple columns, then sorting by first name and then by last name would be equivalent to only sorting by last name and would not result in a 'telephone book' sort. The data reverts to its original ordering prior to each sort.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.