Servis-Rhino 4211B Betriebsanweisung Seite 186

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 298
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 185
Some of the more interesting properties of this module are:
multiple – A boolean. If false, only single selection is allowed. The default is true
which allows multiple selection.
Some of the more interesting methods include:
getSelected() - Returns an array of all the "ids" of the selected items. If nothing is
selected, an empty array is produced. The model byId() function can be used to get the data
for the rows once we have the id.
Events include:
onSelected(row, rowId) – The row property is an object that represents the row
(see gridx/core/Row). The row's item() function can be used to retrieve the data for
the row.
gridx/modules/IndirectSelect
This module adds a check box or a radio button in the row header area. This module is designed to
be used in conjunction with "gridx/modules/selectRow" and
"gridx/modules/RowHeader". The property called "selectRowMultiple" is a boolean.
If true, multiple selections (checkbox) is shown and if false, only a single selection is allowed which
means a radio button is shown.
See also:
gridx/modules/RowHeader
gridx/modules/SingleSort
This modules adds sorting capabilities to the columns.
It adds a property to the column definitions called "sortable". The type of this property is a
boolean. If set to false, then the column is not sortable and will not respond to sort requests.
This module adds an optional GridX property called "sortInitialOrder" which allows us to choose a
column that will be used for initial sorting. The value of this property is an object with the
properties:
colId – The id of the column to be sorted.
descending – A boolean to decide whether to sort up or down.
For example:
sortInitialOrder: { colId: "myColId", descending: false }
gridx/modules/TitleBar
This module has been deprecated in favor of gridx/modules/Bar. It should not be used in
new projects and should be replaced when possible.
gridx/supportLinkSizer
This module is designed to be used in conjunction with the gridx/modules/Bar module. It provides
a set of clickable links that show different page sizes that can be selected.
Here is an example of this module's default appearance:
Page 186
Seitenansicht 185
1 2 ... 181 182 183 184 185 186 187 188 189 190 191 ... 297 298

Kommentare zu diesen Handbüchern

Keine Kommentare