CellMouseDown Event

This event will be raised if mouse pressed down inside a visible cell.

Note that the property 'Cell' of the event argument may be null. ReoGrid does not create all cells instance if there is no data or styles set to the cell.

To always have a cell instance by using the grid.CreateAndGetCell rather than get the instance directly from event argument:

void grid_CellMouseDown(object sender, CellMouseEventArgs e)
  // cell instance may be null
  var cell = e.Cell;

  // cell instance will be created from a posible if not existed
  var cell = grid.CreateAndGetCell(e.CellPosition);

Return to Events

Last edited May 22, 2014 at 12:04 PM by unvell, version 3