Re: NSOutlineView
Re: NSOutlineView
- Subject: Re: NSOutlineView
- From: Mahaboob <email@hidden>
- Date: Tue, 30 Dec 2008 14:14:07 +0530
- Thread-topic: NSOutlineView
Hi Chaitanya,
I tried it then it fires the event - (int)outlineView:(NSOutlineView
*)outlineView numberOfChildrenOfItem:(id)item and it returns 0. But when I'm
selecting the same table from the popupButton then it returns the actual
number of children. Why this happens?
Thanks
mahaboob
On 12/30/08 12:44 PM, "chaitanya pandit" <email@hidden> wrote:
> Hi, Mahaboob,
> Did you try calling [outlineView reloadData] in ur launch method?
> -Chaitanya
>
> On 30-Dec-08, at 10:33 AM, Mahaboob wrote:
>
>> My application uses an NSPopupButton and NSOutlineView. PopupButton
>> shows
>> all the table names in the database and the outlineView displays the
>> data in
>> the corresponding table selected from the popupButton. It is working
>> fine. I
>> also need to display one default table's data in the outlineView
>> when I'm
>> opening this window. So in the opening method of the window I called
>> the
>> same method used for the PopupButton's selection changed, and it
>> runs that
>> method but it doesn't fires the events for the OutlineView. So the
>> outlineView shows nothing. How can I fires the events for
>> outlineView in
>> this method ?
>>
>> Thanks in advance
>> Mahaboob
>>
>>
>> _______________________________________________
>>
>> 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
>
_______________________________________________
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