Re: TableView and context menus
Re: TableView and context menus
- Subject: Re: TableView and context menus
- From: John Hörnkvist <email@hidden>
- Date: Tue, 25 Sep 2001 17:01:59 +0200
On Tuesday, September 25, 2001, at 04:45 PM, Ondra Cada wrote:
SAS> What am I doing wrong?
Presuming that each table cell has its own data cell, which "stays"
where
the table cell is. That's not true (perhaps you've used NSMatrix, which
works
that way, before). The NSColumn, though, has just _one_ data cell, which
stays "nowhere", but is used to draw any item (with changing
coordinates).
You can also make a subclass of NSTableColumn and override
"dataCellForRow:" to return a new cell for each row.
Regards,
John Hornkvist
--
ToastedMarshmallow, the perfect Cocoa companion
http://www.toastedmarshmallow.com