This is a migrated thread and some comments may be shown as answers.

Is filter supported for a strict markup list?

1 Answer 32 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
SRV
Top achievements
Rank 1
SRV asked on 21 Apr 2016, 08:23 AM

Can I use the filterable attribute on a markup only list? I suspect the issue is that you will need a model, for the filter to work.

In this example, the list goes empty when trying to write in the filter input

 

<!DOCTYPE html> <html> <head> <meta charset="utf-8"/> <title>Kendo UI Snippet</title> <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.1.412/styles/kendo.common.min.css"/> <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.1.412/styles/kendo.rtl.min.css"/> <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.1.412/styles/kendo.silver.min.css"/> <link rel="stylesheet" href="http://kendo.cdn.telerik.com/2016.1.412/styles/kendo.mobile.all.min.css"/> <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script src="http://kendo.cdn.telerik.com/2016.1.412/js/kendo.all.min.js"></script> </head> <body> <div data-role="view"> <ul data-role="listview" data-filterable="true" data-style="inset"> <li>Foo</li> <li>Bar</li> </ul> </div> <script> new kendo.mobile.Application(); </script> </body> </html>

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 25 Apr 2016, 07:05 AM
Hi Olaf,

I am not sure that I understand exactly the question you are having. Can you please elaborate a bit more?

Regards,
Kiril Nikolov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
ListView (Mobile)
Asked by
SRV
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or