Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

telerik mvc grid round sum result

@(Html.Kendo().Grid<Model>()
	.Name("Table")
	.Columns(columns => {
		columns.Bound(o => o.Total)
			.ClientFooterTemplate("$#= kendo.toString(sum, '0.00') #");
	})
	.DataSource(dataSource => dataSource
		.Ajax()
		.ServerOperation(false)
		.Aggregates(a =>
		{
			a.Add(y => y.Total).Sum();
		})
		.Read(read => read.Action("Function", "Controller").Type(HttpVerbs.Get))
		.PageSize(5))
)
Comment

PREVIOUS NEXT
Code Example
Csharp :: How Many Vowels 
Csharp :: C# read GroupComponent using regex 
Csharp :: auto scroll infinite scroller unity 
Csharp :: c# list to string replace last comma with and 
Csharp :: using selected item in listbox c# to fill texbox 
Csharp :: Get dwgexport setting reivit api 
Csharp :: small index c# 
Csharp :: stack in c# 
Csharp :: check for held hey unity 
Csharp :: use Multiple forms in one Csharp panel in one Windows Form panel 
Csharp :: move position smoth unity 
Csharp :: skrivetænking 
Csharp :: unity debug log gameobject 
Csharp :: c sharp if statements 
Csharp :: Unity SceneLoad by Name in Inspector 
Csharp :: viewsheet location revit api 
Csharp :: asp.net web hooks 
Csharp :: how to do minus with button c# 
Csharp :: c# properties making string required 
Csharp :: reflection assemblies gettypes 
Csharp :: DotNet web Api Token based Authentication 
Csharp :: dotnet core ef add multiple records 
Csharp :: create circumference with nettopologysuite 
Csharp :: LAST ELEMT OF ARRAY 
Csharp :: linq top selling products 
Csharp :: Delegates in UntiyC# 
Csharp :: c# nuint 
Csharp :: dynamic c# .add 
Csharp :: how to declare two int variables in only one line c# 
Csharp :: how to create new function c# 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =