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" <chaita...@expersis.com> 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 (Cocoa-dev@lists.apple.com)
>> 
>> 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:
>> http://lists.apple.com/mailman/options/cocoa-dev/chaitanya%40expersis.com
>> 
>> This email sent to chaita...@expersis.com
> 


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to