SfDataGridBehaviorVirtualizedFilterToSQLFilter(SfDataGrid, GridColumn, String, Boolean) Method

Converts the virtualized filters in the specified GridColumn into a SQL filter expression.

Definition

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

Parameters

grid  SfDataGrid
The SfDataGrid control.
column  GridColumn
GridColumn of the SfDataGrid to process.
field  String
The name to assign as a field to the filter predicates.
useSquareBrackets  Boolean  (Optional)
Indicates whether to use square brackets in field names.

Return Value

String
String containing the SQL filter expression, or if the column is not filtered.

See Also