:: com :: sun :: star :: awt :: grid ::
|
unpublished |
interface XSortableGridData |
|
|
|
- Usage Restrictions
- not published
- Description
- allows to sort the data represented by a XGridDataModel
|
Methods' Details |
sortByColumn
- Description
- sorts the rows represented by the model by a given column's data.
- Parameter ColumnIndex
- the index of the column whose data should be used as sort key
- Parameter SortAscending
- is true if the data should be sorted ascending, false otherwise.
- Throws
- ::com::sun::star::lang::IndexOutOfBoundsException
if
ColumnIndex does not denote a valid column.
|
|
removeColumnSort
- Description
- removes any possibly present sorting of the grid data
|
|
getCurrentSortOrder
::com::sun::star::beans::Pair< long, string > |
getCurrentSortOrder(); |
- Description
- returns the current sort order.
- Returns
- a structure describing the current sort order. ::com::sun::star::beans::Pair::First
denotes the column by which the data is sorted, or -1 if the data is currently unsorted.
::com::sun::star::beans::Pair::Second is true if the data is sorted ascending,
false otherwise.
|
|
Top of Page
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.