• 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: Newbie: TableView question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie: TableView question


  • Subject: Re: Newbie: TableView question
  • From: Marco Binder <email@hidden>
  • Date: Tue, 29 Apr 2003 14:47:44 +0200

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>)

  • Prev by Date: Re: Newbie: TableView question
  • Next by Date: object , name, identity...and newbie
  • Previous by thread: Re: Newbie: TableView question
  • Next by thread: Re: Newbie: TableView question
  • Index(es):
    • Date
    • Thread