html5 - Kendo UI Mobile - data-* attribute for fixed headers in grouped listview? -
html5 - Kendo UI Mobile - data-* attribute for fixed headers in grouped listview? -
i have fixed headers in grouping listview... know how using javascript, wondering if possible accomplish purely using kendo's data-* attributes?
something following:
<ul data-role="listview" data-type="group" data-headers="fixed"> <li> ... </li> </ul>
thank you
data attributes hyphenated , lower case declarative initialization property of camel-case counterparts in kendo mobile.
$("ul[data-role=listview]").kendomobilelistview({ template: $("#listviewtemplate").html(), headertemplate: $("#listviewheadertemplate").html(), type: "group", fixedheaders: true }); <ul data-role="listview" data-template="listviewtemplate" data-header-template="listviewheadertemplate" data-type="group" data-fixed-headers="true"> <li> ... </li> </ul>
framework version 2012.3.1315 apparently has bug fixed headers not render , first or lastly header in listview shown.
html5 listview kendo-ui
Comments
Post a Comment