This question is locked. New answers and comments are not allowed.
I have nested grid with VacDuration column.
It works fine when nested grid isn't empty
columns.Bound(v => v.VacDuration).Title("Duration").ReadOnly(true)
.Aggregate(agr=>agr.Sum())
.ClientFooterTemplate("Total: <#= $.telerik.formatString('{0:0}', Sum)#>")
BUT, I get JavaScript exception in function below when nested grid doesn't contain any row
function anonymous(data) {
var p=[];with(data){p.push('Total: ', $.telerik.formatString('{0:0}', Sum),'');}return p.join('');
}
Please advise what was missed
It works fine when nested grid isn't empty
columns.Bound(v => v.VacDuration).Title("Duration").ReadOnly(true)
.Aggregate(agr=>agr.Sum())
.ClientFooterTemplate("Total: <#= $.telerik.formatString('{0:0}', Sum)#>")
BUT, I get JavaScript exception in function below when nested grid doesn't contain any row
function anonymous(data) {
var p=[];with(data){p.push('Total: ', $.telerik.formatString('{0:0}', Sum),'');}return p.join('');
}
Please advise what was missed