+
+Retrieve the row index of the FilterRow using the [SfDataGrid.GetFilterRowIndex]() method.
+
+{% tabs %}
+{% highlight c# %}
+int filterRowIndex = this.dataGrid.GetFilterRowIndex();
+{% endhighlight %}
+{% endtabs %}
+
+Verify if a given row index corresponds to the FilterRow by utilizing the [SfDataGrid.IsFilterRowIndex]() helper method.
+
+{% tabs %}
+{% highlight c# %}
+bool isFilterRowIndex = this.dataGrid.IsFilterRowIndex(1);
+{% endhighlight %}
+{% endtabs %}
+
+## Built-in editors
+
+The FilterRow automatically initializes editors that correspond to the underlying property type, simplifying data filtering. Customize these default editors by setting the `DataGridColumn.FilterRowEditorType` property.
+
+{% tabs %}
+{% highlight XAML %}
+
+
+
+Below are the built-in FilterRow editor types supported in SfDataGrid.
+
+| FilterRowEditor Type | +Editor Control | +Renderer | +Description | +
|---|---|---|---|
| TextBox | +SfDataGridEntry | +DataGridFilterRowTextBoxRenderer | +Enables filtering for string data. | +
| Numeric | +SfNumericEntry | +DataGridFilterRowNumericBoxRenderer | +Facilitates filtering for numeric data. | +
| ComboBox | +SfComboBox | +DataGridFilterRowComboBoxRenderer | +Allows selection of a single value for filtering from a dropdown. | +
| MultiSelectComboBox | +SfComboBox | +DataGridFilterRowMultiSelectRenderer | +Permits selection of multiple values for filtering from a dropdown. | +
| CheckBox | +SfCheckBox | +DataGridFilterRowCheckBoxRenderer | +Supports filtering of Boolean data. | +
| DateTime | +DatePicker | +DataGridFilterRowDateRenderer | +Provides filtering capabilities for DateTime data. | +
+
+Below are the filter conditions supported by different filter row editors in SfDataGrid.
+
+| Numeric Editor | +TextBox Editor | +DateTime Editor | +CheckBox Editor | +ComboBox, MultiSelectComboBox Editor | +
|---|---|---|---|---|
The numeric editor is utilized in DataGridFilterRowCell when integer, double, short, decimal, byte, or long data types are bound to the DataGridColumn.FilterRowEditorType. |
+ The text editor is employed in DataGridFilterRowCell for string-bound DataGridColumn values or dynamic item sources. |
+ For DataGridColumn entries with datetime data types, the datetime editor is loaded into the DataGridFilterRowCell. |
+ When a boolean type is bound to the DataGridColumn, the checkbox editor is automatically loaded in the DataGridFilterRowCell. |
+To use comboBox and MultiSelectComboBox editors, the FilterRowEditorType property must be explicitly set. | +
The default numeric filter condition is Equals. Additional available conditions include:
+
|
+The default text filter condition is Contains. Other available conditions include:
+
|
+The default DateTime filter condition is Equal. Additional conditions provided are:
+
|
+For checkbox values, the Equals filter condition is always applied. |
++ |
+
+{% tabs %}
+{% highlight XAML %}
+
+
+## Instant filtering
+Filters are typically applied to columns upon cell navigation or pressing the Enter key. However, by setting [DataGridColumn.ImmediateUpdateColumnFilter]() to `true`, you can enable instant filtering as you type within the editor.
+{% tabs %}
+{% highlight xaml %}
+
+
+### Customizing filter row cell
+Further customize the filter row cell's appearance through the `FilterRowCellStyle` property.
+
+{% tabs %}
+{% highlight xaml %}
+
+
+
+## Customizing filter row editors
+
+### Customizing the filter row renderer
+
+[SfDataGrid](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.DataGrid.SfDataGrid.html) allows you to customize the filter row renderer behavior by overriding the corresponding renderer associated with the filter row cell. Each renderer have a set of virtual methods for handling the filter row behaviors. You can also create new renderers instead of overriding the existing renderer.
+You can customize the default TextBox editor behavior by overriding `DataGridFilterRowTextBoxRenderer` class and add the custom renderer to `FilterRowCellRenderers`.
+
+{% tabs %}
+{% highlight xaml %}
+