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.
Namespace: Aliquo.Windows.ControlsAssembly: Aliquo.Windows.Controls (in Aliquo.Windows.Controls.dll) Version: 5.0.9179.22656
public static string VirtualizedSortColumnsToSQLOrder(
SfDataGrid grid,
bool useSquareBrackets = true
)
Public Shared Function VirtualizedSortColumnsToSQLOrder (
grid As SfDataGrid,
Optional useSquareBrackets As Boolean = true
) As String
- grid SfDataGrid
- Control SfDataGrid.
- useSquareBrackets Boolean (Optional)
- Indicates whether to use square brackets in field names.
StringString containing the SQL sort expression, or
if no sort order is set.