• 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: Trouble with NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with NSTableView


  • Subject: Re: Trouble with NSTableView
  • From: Scott Anguish <email@hidden>
  • Date: Thu, 23 May 2002 07:18:55 -0400

You've made the connection in IB incorrectly by the looks of things... looks like its conntected to the NSScrollView rather than the TableView.. disconnect that and connect it up right and try again.

On Thursday, May 23, 2002, at 06:58 AM, Martin Kautz wrote:

Hello list,

I'm trying to display returned data of a mySQL query in a NSTableView (which
is called 'table'). Data source of 'table' is an array (which is filled with
the mysql data) and actually all seems to be fine.
The issue is that 'table' is loading the data but I only can see the records
if I click inside 'table'...
I know that I should use [table reloadData]; but whenever I place this
inside my code I get an runtime error message:

// hmmm, looks like the table exists
2002-05-23 12:50:21.487 mySQLchecker[7462] table: <NSScrollView: 0x1590d0>
// but this happens at [table reloadData];
2002-05-23 12:50:21.487 mySQLchecker[7462] *** -[NSScrollView reloadData]:
selector not recognized
2002-05-23 12:50:21.498 mySQLchecker[7462] Exception raised during posting
of notification. Ignored. exception: *** -[NSScrollView reloadData]:
selector not recognized

What selector? What went wrong?
_______________________________________________
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: 
 >Trouble with NSTableView (From: Martin Kautz <email@hidden>)

  • Prev by Date: Re: Trouble with NSTableView
  • Next by Date: Re: Cycle Through Windows
  • Previous by thread: Re: Trouble with NSTableView
  • Next by thread: Re: Issue with dataWithPDFInsideRect:
  • Index(es):
    • Date
    • Thread