Servis-Rhino 4211B Guia do Utilizador Página 187

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 298
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 186
1 2 ... 182 183 184 185 186 187 188 189 190 191 192 ... 297 298

Comentários a estes Manuais

Sem comentários