Re: Retrieving data into NSTableView
Re: Retrieving data into NSTableView
- Subject: Re: Retrieving data into NSTableView
- From: j o a r <email@hidden>
- Date: Wed, 21 Jul 2004 20:01:27 +0200
The question is probably not how to get the data into the NSTableView
(as you already seems to have a working table view data source - as you
can enter data in the table view to update the db), but how to update
the data source with data from the db.
The answer to that question depends on the current layout of your data
source. Do you have a custom object type to represent each row, or do
you store something like an array of dictionaries where you have one
type of key per column in the table view?
j o a r
On 2004-07-21, at 18.58, Patel, Nilesh M wrote:
>
I have a cocoa app where I am entering information into an NSTableView
>
and storing it in a mysql database. (which is working fine)
>
When I am fetching the data from the mysql database how do I get that
>
array string to be displayed into the NSTableView. (of course in its
>
appropriate rows/columns) I do have my app fetching it properly and
>
the data is being display in the log window, but how do I get it into
>
my NSTableView? It just might be a simple method that I might have
>
over looked. Need help.
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.