Re: Editing NSOutlineView Group Item
Re: Editing NSOutlineView Group Item
- Subject: Re: Editing NSOutlineView Group Item
- From: Luther Baker <email@hidden>
- Date: Sun, 02 Nov 2014 16:42:37 -0600
Indeed ... I was incorrectly using reloadDataForRowIndexes:columnIndexes:
... and not reloadItem:reloadChildren.
Thank you,
-Luther
On Sun, Nov 2, 2014 at 4:35 PM, Graham Cox <email@hidden> wrote:
>
> On 3 Nov 2014, at 9:18 am, Ken Thomases <email@hidden> wrote:
>
> > This is not correct. Group items are items for which the delegate
> returns YES from -outlineView:isGroupItem:. They can have children or not.
>
>
> Yes, my misunderstanding - I've only used group rows for section labelling
> (no children).
>
> > All of the mentions of reloading a _row_ in the above show the
> misunderstanding.
>
> Yup. Though NSOutlineView subclasses NSTableView, the table view methods
> shouldn't be used for reloading where a special outline view method has
> been provided. That would be -reloadItem:reloadChildren:
>
> --Graham
>
>
>
_______________________________________________
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