SfDataGridBehaviorFilterToSQLFilter(SfDataGrid, GridColumn, String, Boolean) Method
Converts the local filters of the specified GridColumn into a SQL filter expression.
Namespace: Aliquo.Windows.ControlsAssembly: Aliquo.Windows.Controls (in Aliquo.Windows.Controls.dll) Version: 5.0.9179.22656
public static string FilterToSQLFilter(
SfDataGrid grid,
GridColumn column,
string field,
bool useSquareBrackets = true
)
Public Shared Function FilterToSQLFilter (
grid As SfDataGrid,
column As GridColumn,
field As String,
Optional useSquareBrackets As Boolean = true
) As String
- 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.
StringString containing the SQL filter expression, or
if the column is not filtered.