What is the correct syntax to set the filter so it will only display loans with a non-zero balance in the grid?
What should the ".Filter(CurrentLoanBalance > 0)" be?
@(Html.Kendo().Grid<BorrowerLoan>()
.Name(
"Loans"
)
.Events(events => events.DataBound(
"onDataBound"
))
.DataSource(dataSource => dataSource
.Ajax()
.ServerOperation(
false
)
.Read(read => read.Action(
"LoanListAjax"
, controller))
.PageSize(Constants.PageSize)
.Filter(CurrentLoanBalance > 0)
)
What should the ".Filter(CurrentLoanBalance > 0)" be?