Mailing Lists: Apple Mailing Lists

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

Re: Table row subview



It sounds like the table might not have the correct Sherlock path name  
as set in Interface Builder. Unfortunately, a single click of the table  
in Interface Builder selects the containing NSScrollView, and not the  
NSTableView itself. You can verify that the table is the selected item  
by examining the title of the inspector window in Interface Builder (it  
will identify the class of the selected view).

__________________________________________________________________
Riley Howard



On Friday, December 20, 2002, at 06:56  AM, Michel Beaucourt wrote:

> 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","Table 
> Row.nib/objects.nib");
> DataStore.Set("CDDB.MainResultsTable.columns.cdlist.dataCellType","Sher 
> lockCell");
>
> The results for this table are returned as follows:
> return  
> dictionary("cdtitle",dictionary(("artistNameTextField",$artistname),("a 
> lbumNameTextField",$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,songti 
> tle");
> DataStore.Set("CDDB.SongResultsTable.selectableColumns","number,songtit 
> le");
>
>
> 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.
_______________________________________________
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.

References: 
 >Table row subview (From: Michel Beaucourt <email@hidden>)



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.