All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
$(
"#grid"
).kendoGrid({
dataSource: {
data: [
{
OrderId: 1,
NrOfProducts: 2,
Price: 155.9987
},
OrderId: 2,
NrOfProducts: 12,
Price: 987.44587
OrderId: 3,
NrOfProducts: 22,
Price: 0.7878
}
],
aggregate: [
{ field:
"NrOfProducts"
, aggregate:
"sum"
"Price"
}]
sortable:
true
,
scrollable:
false
columns: [{
field:
"OrderId"
title:
"ID of the Order"
"Number Of Products"
footerTemplate:
"Total Products : #= kendo.toString(sum, '0.00') #"
"Total Price: #= kendo.toString(sum, 'C') #"
});
01.
data-columns='[
02.
"Class",
03.
"Type",
04.
{field: "FileCount",
05.
format: "{0:n2} MB",
06.
aggregates: ["sum"],
07.
footerTemplate: "Total: #=data.FileCount? data.FileCount.sum : 0 #"
08.
09.
{field: "Size",
10.
11.
12.
footerTemplate: "Total: #=data.Size?data.Size.sum : 0 # MB"
13.
14.
{field: "Date",
15.
format: "{0:F}" },
16.
"Path",
17.
{command: "destroy"},
18.
]'>
"Total: #= kendo.toString(data.FileCount ? data.FileCount.sum : 0, \"n2\") # MB"