Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: 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< string, 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 © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.