Hi,
I have put a breakpoint on the ActionResult and it looks like it is using the 'Where' in the DataManager, however, instead of using the Operator in the Where Filter, it is using the Predicates.
This means when it comes to filtering out the data it is unable to do it because the 'Where' clause uses the .Operator command?
Can you help?
Thanks,
Frankie
|
@(Html.EJ().Grid<object>("Grid")
.Datasource(ds => ds.URL("/OrderTables/DataSource").Adaptor(AdaptorType.UrlAdaptor))
.AllowPaging(true)
.AllowFiltering()
.FilterSettings(filter=> filter.FilterType(FilterType.Excel))
.Query("new ej.Query().where(ej.Predicate('OrderID',ej.FilterOperators.equal, 10399, true).or('CustomerID', ej.FilterOperators.startsWith, 'V', true)).take(5)")
.Columns(col =>
{
...
}))
|