brendand / mbtablegrid

An NSControl subclass which provides a spreadsheet-style table grid
9 stars 3 forks source link

Drag down to fill when grabbing bottom-right dot #11

Closed brendand closed 9 years ago

brendand commented 9 years ago

The bottom-right corner of a selected cell has a large dot on it.

  1. The mouse pointer should change to a + when the cursor is within a couple of pixels of the dot.
  2. Dragging down should call a delegate method indicating new rows are being added or deleted (if dragging up, but only if there's no other data in other columns in the rows).
  3. Dragging down from a cell with data in it should copy the data from the originally selected cell to the new cells being added.
  4. Dragging down should only span that one column and should not span across columns.