• 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
loading a data source having missing columns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

loading a data source having missing columns


  • Subject: loading a data source having missing columns
  • From: Jeffrey Mattox <email@hidden>
  • Date: Sun, 15 Feb 2004 19:50:59 -0600

In AppleScript Studio, it is possible to access data cells in a data source without a corresponding column in the table view. Data put in such an "invisible" column can be retrieved later. For example, this works even if there is no data column in the corresponding table view with an identifier "id":

set theRow to make new data row at end of the data rows of theDataSource
set contents of data cell "id" of theRow to 17

In Cocoa, the only way I know to load data uses this method:

tableView:setObjectValue:forTableColumn:row:

But that requires a reference to a table view column which, in my case, does not exist.

How can I load data into a data source that does not correspond to a visible column in the table view?

Jeff
_______________________________________________
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.

  • Prev by Date: Re: ANN: Doxygen for MacOS X with Objective-C support
  • Next by Date: Re: calling method via IMP that returns non id type - compiler warning
  • Previous by thread: Re: MORE: Setting hierarchy of NIB items
  • Next by thread: Slow Cocoa
  • Index(es):
    • Date
    • Thread