I want to create a simple display: At the top a header and then a list. Somehow whatever I am trying is not working.
id:"myView",
view: "layout",
rows:[
{ template: "My Heading", height: 40},
{ view: "list", data: small_film_set,
template:"#rank#. #title#",
type:{ height:40 },
select: true
}
]
If I type “header: ‘My Heading’” (instead of template) then nothing shows.
How can I achieve this?
Thanks