This is a migrated thread and some comments may be shown as answers.
Databinding ListView Templates in Grouped Mode
1 Answer 58 Views
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 03 Apr 2012, 07:24 PM
Hi,

Binding with template to standard view is clear in docs (as below) but how would I bind to a grouped view?

<ul id="listview"></ul>

<script type="text/javascript">
    $
(document).ready(function() {
        $
("#listview").kendoMobileListView({
            template
: "<strong>${data.foo}</strong>",
            dataSource
: kendo.data.DataSource.create([{foo: "bar"}, {foo: "baz"}])
       
});
   
});
</script>

Thanks,
Matt

1 Answer, 1 is accepted

Sort by
0
Accepted
Petyo
Telerik team
answered on 04 Apr 2012, 09:28 AM
Hi,

This demo shows the needed approach. The sushi sample application also features grouped data binding. 
Kind regards,
Petyo
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Asked by
Matt
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or