Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie: TableView question



Try having the table display by calling [myTableView reloadData];

usually, that is the problem when data is not shown. You have to call this method whenever your data change.

Marco


Am Dienstag, 29.04.03 um 14:21 Uhr schrieb Nilay Hazra:

Hi,

I'm very new in Cocoa/Objective-C programming. I just need to display some
data in a TableView. But for some reason the data are NOT getting displayed in
the table. It seems that I've done everything as expected in the NIB file.
I've made connection from the NSTableView's dataSource outlet to File's Owner.
I've also made connection in the reverse way (from File's Owner to TableView).
But the data are not getting displayed in the table, only the blank table is
coming. After debugging the code, I've found that the control is NOT coming
inside the Data Source method objectValueForTableColumn() (although the
control is coming inside another Data Source method numberOfRowsInTableView()
). May be I'm missing out something. Can anybody help me?

Sorry for asking a very basic question.

Thanks,

Sourav Ganguly
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


--
|\ /| email@hidden http://www.marco-binder.de
| \/ | Telefon: 07531 / 94 19 94 Fax: 07531 / 94 19 92
| |ARCO Snail-Mail: Banater Str. 3 - 78467 Konstanz
BINDER _____________________________________________________
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Newbie: TableView question (From: "Nilay Hazra" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.