Servis-Rhino 4211B Guía de usuario Pagina 187

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 298
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 186
1 2 ... 182 183 184 185 186 187 188 189 190 191 192 ... 297 298

Comentarios a estos manuales

Sin comentarios