brendand / mbtablegrid

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

Add delegate method to provide accessory buttons for cells #12

Closed brendand closed 9 years ago

brendand commented 10 years ago

The right of a cell should be able to contain an accessory button. For example, a QuickLook "eye" button to the right of an image cell. Clicking on it would execute a delegate method which could use QuickLook to display a larger version of the image.

Another example would be a calendar button which when clicked would popup a calendar control provided by the delegate. Setting the value on the delegate would pass the value back to the cell.