SfDataGridBehaviorVirtualizedSortColumnsToSQLOrder Method

Converts the virtualized sort order of the columns in the specified SfDataGrid into a SQL sort expression. Uses MappingName to designate the names of the fields to sort.

Definition

Namespace: Aliquo.Windows.Controls
Assembly: Aliquo.Windows.Controls (in Aliquo.Windows.Controls.dll) Version: 5.0.9179.22656
C#
public static string VirtualizedSortColumnsToSQLOrder(
	SfDataGrid grid,
	bool useSquareBrackets = true
)

Parameters

grid  SfDataGrid
Control SfDataGrid.
useSquareBrackets  Boolean  (Optional)
Indicates whether to use square brackets in field names.

Return Value

String
String containing the SQL sort expression, or if no sort order is set.

See Also