• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSOutlineView and checkbox cells for child items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Weak Linking & using HiShape
  • Next by Date: Re: Finder Eject Button in OutlineView
  • Previous by thread: Re: NSTableView "sometimes" doesn't repaint on reloadData:?
  • Next by thread: Prevent Text Highlighting
  • Index(es):
    • Date
    • Thread