:: Documentation >>

cell mouse events

Grid cells trigger a set of mouse-related events -

null

Syntax

obj.onCellMouseOver = function(event, column, row){...};
obj.onCellMouseOut = function(event, column, row){...};
obj.onCellMouseDown = function(event, column, row){...};
obj.onCellMouseUp = function(event, column, row){...};
obj.onCellClicked = function(event, column, row){...};
obj.onCellDoubleClicked = function(event, column, row){...};

Parameters

event (object) - DOM event
column (string) - column index
row (string) - row index

Example

obj.onCellClicked = function(event, column, row){
    alert(this.getCellText(column, row));
}

Remarks

If any of the Ctrl-, Alt- or Shift- button is pressed then onCellClicked and onCellDoubleClicked events will not fire. Instead the event name will include the combination of the control characters - for example, onCellShiftDoubleClicked or onCellCtrlClicked

See also

cell template

Comments

.MouseMove() support? Thierry Nivelet (FoxInCloud) (4)
stop .click() propagation to the grid Thierry Nivelet (FoxInCloud) (3)
very very urgent!..on clicking on a cell the cell is getting highlighted(i.e that particula cell is becoming blue in color) I should not get this i.e it should not get highlighted. suman.jv (1)

Documentation:

Recent changes:

2.6.4
2.6.3
2.6.2
2.6.1
2.6.1
2.6.0
2.5.0 - 2.5.6
2.5.6
2.5.0 - 2.5.5
2.5.5