Function GridWidgetBase.pointToCell

converts client rect relative coordinates to cell coordinates

bool pointToCell(
  int x,
  int y,
  ref int col,
  ref int row,
  ref Rect cellRect
);