Hello,
I am currently using Kendo version 2024.1.130 with ASP.NET core Razor Pages.
In this version I am unable to get a sum aggregate to show. Nothing woks, not even a "ABC" string. The footer is visible and all columns contain a
Relevant Code:
@(Html.Kendo().Grid<ItemViewModel>()
.Name("grid")
.Filterable()
.Sortable()
.Scrollable()
.Columns(columns =>
{
//...
columns.Bound(c => c.ExtendedPrice).Title("Extended Price").Format("{0:n0}").ClientFooterTemplate("#=sum#");
//...
})
.DataSource(dataSource => dataSource
.Ajax()
.Aggregates(aggregates =>
{
aggregates.Add(p => p.ExtendedPrice).Sum();
})
.Read(read => read.Action("GetList", "Bom").Type(HttpVerbs.Get).Data("getParameters"))
.Events(e => e.Error("showSimpleModelStateErrors").RequestStart("clearErrors").RequestEnd("gridDataLoaded"))
)
Noticed that .ClientFooterTemplate("#=sum#") has no effect. I am not getting an id in the DOM. Probably related.