Hi,
I know how to specify aggregates when using a DataSource to populate the grid.
But how do I define aggregates when I'm populating the Grid using BindTo?
I want a Sum row at the bottom of this Grid:
I know how to specify aggregates when using a DataSource to populate the grid.
But how do I define aggregates when I'm populating the Grid using BindTo?
I want a Sum row at the bottom of this Grid:
@(Html.Kendo().Grid<
Models.AgentLeaderData
>()
.Name("AgentLeaderData")
.Columns(col =>
{
col.Bound(p => p.AgentName);
col.Bound(p => p.Revenue).HtmlAttributes(new { style = "text-align:right" });
})
.BindTo(Model.AgentLeaderData)
)