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

Hiding filter input in mobile ListView

1 Answer 45 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Augustin
Top achievements
Rank 1
Augustin asked on 30 Oct 2015, 12:21 PM

Hello,

 I would like to hide/show a filter input for a mobile list view dynamically (in JS). I have succeeded it using  $("#myMobileListView").getKendoMobileListView()._filter._clearFilter();

and hiding/showing the element with ".km-filter-form" class. Is there any bettter way using public methods?

Thanks,

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 30 Oct 2015, 03:05 PM
Hi Robert,

The listview does not expose such methods currently - your approach is simple enough, though. 

Regards,
Petyo
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
Augustin
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or