Re: NSOutlineView and checkbox cells for child items
Re: NSOutlineView and checkbox cells for child items
- Subject: Re: NSOutlineView and checkbox cells for child items
- From: Corbin Dunn <email@hidden>
- Date: Tue, 02 Sep 2008 08:40:57 -0700
On Aug 30, 2008, at 10:34 PM, Seth Willits wrote:
On Aug 30, 2008, at 9:35 PM, Justin Williams wrote:
I have an two-column NSOutlineView with the first column being an
checkbox cell. This works fine for any root level/parent items, but
any children underneath a given item will not display a checkbox
cell.
Unless you have a custom column and are overriding dataCellForRow:,
the checkbox cell should be used for every row. I suspect there is
more to what you are doing than you've told us.
Or using this delegate method on Leopard:
- (NSCell *)tableView:(NSTableView *)tableView dataCellForTableColumn:
(NSTableColumn *)tableColumn row:(NSInteger)row;
More than likely, the cell drawing the check box at the wrong location
(or not drawing it at all for some reason).
corbin
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden