loading a data source having missing columns
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.