I follow this example but I have some problems with the height of the panel.
I populate the list with all the items and then I try to set the height for scrolling with this code:
//Update panel's content height, set the ht value on the panel's
//scroller <div> data-layout-content-height attribute.
//panelHt = header ht + listItems ht + footer ht
var panelHt = 30 + itemCnt * 150;
$('#m1-list-panel1-scroller').attr('data-layout-content-height', panelHt);
The height is right but the panel could not scroll properly. Any idea?
Thanks