Re: ODBC query NSTableView
Re: ODBC query NSTableView
- Subject: Re: ODBC query NSTableView
- From: Andrew Satori <email@hidden>
- Date: Wed, 2 Aug 2006 13:27:38 -0400
If you look at the Query Tool source in http://sourceforge.net/
projects/pgsqlformac/ you will find an example of a DB query result
being displayed in a Table View as well.
Andy
On Aug 2, 2006, at 12:03 PM, Jim Correia wrote:
On Aug 2, 2006, at 11:31 AM, Brian Weitzner wrote:
But now I have a new question: How can I display the results
of a query in an NSTableView?
That you got the data from an ODBC query is irrelevant. To display
it in a table view you do the same as you'd do for any data - use
the table view's data source, or an NSArrayController and bindings.
The table view programming guide explains how to use a data source:
http://developer.apple.com/documentation/Cocoa/Conceptual/TableView/
index.html
Jim
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden