Servis-Rhino 4211B Betriebsanweisung Seite 187

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 298
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 186
Among its properties there are:
sizes – An array of numbers corresponding to the different sizes that can be supplied for
paging. A negative number means "all".
GridX Styling
Mouse and keyboard events
Mouse and keyboard events can be capture almost anywhere in the GridX environment.
The following regions are detectable:
Header
HeaderCell
Row
Cell
RowHeaderHeader
RowHeaderCell
For each of the above, the following events are detectable:
MouseOver
MouseOut
MouseDown
MouseUp
Click
DblClick
ContextMenu
KeyDown
KeyUp
KeyPress
The way to register for an event is:
grid.connect(grid, "<event name>", function(evt) {
// code here
});
The <event name> is made up by the following algorithm:
"on" + <Region Name> + <Event Name>
for example, to detect a mouse over event upon a cell, we would use:
onCellMouseOver
The event payload defines a variety of different properties that are configured:
Property When populated
Page 187
Seitenansicht 186
1 2 ... 182 183 184 185 186 187 188 189 190 191 192 ... 297 298

Kommentare zu diesen Handbüchern

Keine Kommentare