mikecsh / mbtablegrid

An NSControl subclass which provides a spreadsheet-style table grid
45 stars 17 forks source link

Added column width and resizing, and improved the handling of numberOfRows #1

Closed sharikov closed 10 years ago

sharikov commented 10 years ago

Added column width and resizing.

The numberOfRowsInTable should only be retrieved when the reloadData is called. Also, I replaced the numberOfRows and numberOfColumns methods with properties, since there is no need to check the datasource every time those methods were called, which was quite frequent.