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

Filter on multiple fields

1 Answer 143 Views
ListView (Mobile)
This is a migrated thread and some comments may be shown as answers.
Gert
Top achievements
Rank 1
Gert asked on 18 Dec 2013, 08:37 AM
I have this code:
@(Html.Kendo().MobileView()
    .Name("MobileViewOrderOverview")       
    .Title("Order overview")
    .Layout("LayoutOrderOverview")
    .Content(obj =>        
        Html.Kendo().MobileListView()
            .Events(e => 
                e.Click("MobileViewCreditor_Clicked")
            )
            .Name("MobileListOrderOverview")                
            .TemplateId("TemplateOrderOverview")                
            .DataSource(dataSource => 
                dataSource
                    .Model(x => x.Id("No"))
                    .Read("Orders", "Json")
            )
            .Filterable(filter =>
                filter.Field("BuyFromVendorName")
                .Operator("contains")
            ))        
)

Which works. But I would like to add additional fields to the filter. So that I can search in the "No" and "BuyFromVendorName" fields at the same time.

Can this be accomplished without adding a search-property to the results?

1 Answer, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 18 Dec 2013, 09:14 AM
Hello Gert,

Filtering by multiple fields in the Kendo UI ListView is not currently supported out of the box. If you think that such feature should be added, please check our uservoice section on the following link:

http://feedback.kendoui.com/

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
Gert
Top achievements
Rank 1
Answers by
Kiril Nikolov
Telerik team
Share this question
or