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?
@(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?