I want to make the NSTableView call height for row before it calls view for column on scroll. (Similar to what UITableView does). Is this possible ?
Asked
Active
Viewed 311 times
1 Answers
0
I really wonder why do you need it,because there can be an alternative for this.
You can first look at Callbacks When an NSScrollView is Scrolled?, and then actually call noteHeightOfRowsWithIndexesChanged: which internally calls height for row. I am just trying to help,but i highly suggest please don re invent the wheel.

Community
- 1
- 1

Suhas Aithal
- 842
- 8
- 20
-
In the table view the content for the row changes dynamically. Hence i need to recalculate the height of the rows everytime the user scrolls. Is there an easy method to get the index of the visible cells after scroll ? – VBK Jun 28 '13 at 11:07
-
Try looking into this, http://stackoverflow.com/questions/7504546/view-based-nstableview-with-rows-that-have-dynamic-heights – Suhas Aithal Jun 28 '13 at 11:31