Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Table row subview



Hi all,

I'm working on a new channel. I added 2 TableViews to it and they appear is the typical Sherlock tableviews (alternating blue and white rows) in Interface Builder. However, when i load the channel, the rows are gone and the are in the two tables is completely white. Even when there are no results
Furthermore, I used a subview in the first tableview and declared it as:


DataStore.Set("CDDB.MainResultsTable.columns.cdlist.cell.nibURL","TableR ow.nib/objects.nib");
DataStore.Set("CDDB.MainResultsTable.columns.cdlist.dataCellType","Sherl ockCell");


The results for this table are returned as follows:
return dictionary("cdtitle",dictionary(("artistNameTextField",$artistname),("al bumNameTextField",$cdname)),
("doubleClickURL",$url))


(The subview contains two textfields 'artistNameTextField, albumNameTextField)
If i return the results to the tableview, it remains white as well.


Also for the second tableview I have the following declared:
DataStore.Set("CDDB.SongResultsTable.visibleDragColumns","number,songtit le");
DataStore.Set("CDDB.SongResultsTable.selectableColumns","number,songtitl e");



BUT, the number and songtitle columns are just not clickable. It seems that both tableviews are just not responding to any clicks and data being returned.
Any suggestions? Oh yes, i checked the names of the tableviews and the columns and they were okay. I don't know if the implementation of a subview in a tablerow is correct since i have never done this before (and i am trying to learn it).


Thanks.

Michael
_______________________________________________
sherlock-channel-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/sherlock-channel-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.