GridExtensionsOrderByT Method

Orders a column of a GridTItem by the specified keySelector.

Definition

Namespace: BlazorBootstrap
Assembly: BlazorBootstrap (in BlazorBootstrap.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static IQueryable<T> OrderBy<T>(
	this IQueryable<T> source,
	LambdaExpression keySelector
)

Parameters

source  IQueryableT
Model stack
keySelector  LambdaExpression
Lambda to order by

Type Parameters

T
Model type

Return Value

IQueryableT
Ordered items

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryableT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also