This question is locked. New answers and comments are not allowed.
I have a some problem with Foreign Key column.
I use MVC 3 and Ajax DataBInding.
I would like to use Aggregate and ClientGroupHeaderTemplate and write count of rows, but didn't work.
this is my code
columns.ForeignKey(o => o.ID_Document_Status, (System.Collections.IEnumerable)ViewData["Statusy"], "ID", "Name_")
.Width(50)
.ClientTemplate("<strong><#= Status #></strong>")
.Title("Status")
.Aggregate(a => a.Count())
.ClientGroupHeaderTemplate("<#= Count #>");.
please help
best regards
rafal
I use MVC 3 and Ajax DataBInding.
I would like to use Aggregate and ClientGroupHeaderTemplate and write count of rows, but didn't work.
this is my code
columns.ForeignKey(o => o.ID_Document_Status, (System.Collections.IEnumerable)ViewData["Statusy"], "ID", "Name_")
.Width(50)
.ClientTemplate("<strong><#= Status #></strong>")
.Title("Status")
.Aggregate(a => a.Count())
.ClientGroupHeaderTemplate("<#= Count #>");.
please help
best regards
rafal