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

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
References: 
 >ODBC query NSTableView (From: Brian Weitzner <email@hidden>)
 >Re: ODBC query NSTableView (From: Jim Correia <email@hidden>)

  • Prev by Date: (Newbie) Multiple views in a Core Data app
  • Next by Date: help with intelizing
  • Previous by thread: Re: ODBC query NSTableView
  • Next by thread: Posting Keyboard Events in UB
  • Index(es):
    • Date
    • Thread