List does not scroll

edited June 2012 in Enyo 2
I'm able to populate the list but it does not scroll.

Code:

{Kind: "FittableRowsLayout", components: [
{kind: "onyx.Toolbar", components: [
{content: "Books", style: "float: left;"},
//{name: "gbooksbtn", kind: "onyx.Button", ontap: "getBooks", content: "Get Books", style: "float: left;"},
{name: "gpdfbtn", kind: "onyx.Button", ontap: "getpdf", content: "Get pdf", style: "float: left;"},
{name: "searchSpinner", kind: "Image", src: "assets/images/spinner.gif", classes: "center", showing: false}
]},

{kind: "List", fit: true, touch: true, onSetupItem: "setupBooks", components: [
{name: "item", style: "padding: 10px;", classes: "item enyo-border-box", ontap: "bkTap", components: [
{name: "bktitle"}
]}

]}

]},

also...
I'm having trouble when I have two lists.I tried naming them but I could not get it to work.

Comments

Sign In or Register to comment.