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
Comentários a estes Manuais