Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

bananasims

macrumors newbie
Original poster
Sep 24, 2008
1
0
I have just install the newest version of Dashcode (2.0.1) and developing a dashboard widget.

I have added a list from the parts library and using the inspector to configure it. However, I set an array list as the source and it doesn't show up when I run it, even I choose the localized strings as the source, it remains hidden.

I have tried to use
Code:
list.reloadData()
,
Code:
list.setDataSource(localizedStrings)
as the documents said but it returns undefined.

Here is the innerHTML of the list
Code:
"<li id=\"listRowTemplate\" apple-template=\"true\" class=\"listRowTemplate_template\" style=\"visibility: hidden; display: none; \">
                            <div id=\"label\" apple-part=\"com.apple.Dashcode.part.text\" class=\"apple-text apple-no-children label_template\" apple-text-overflow=\"ellipsis\">Item</div>

Thx
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.