On Apr 8, 2012, at 12:08 PM, Felix Franz wrote:
> you can use NSTableView>>frameOfCellAtColumn:row: to get the frame of the
> cell at the columnIndex/rowIndex.
Thanks!
- Koen.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not p
Hi Koen,
you can use NSTableView>>frameOfCellAtColumn:row: to get the frame of the cell
at the columnIndex/rowIndex.
The controlView of the cell is the NSTableView-object, and thus you always get
the bounds of the table itself.
For the rects of rows/columns you can use rectOfRow:/rectOfColumn
I am trying to find out what the bounds are of the cell of an NSTableView that
was clicked in. I'd like to use that rect to show a NSPopover when the user
double clicks on a cell. I have this in my NSTableView controller class:
-(IBAction)doubleClickAction:(id)sender
{
NSInteger row = [