Re: Trouble with NSTableView
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.