DxGrid.SearchBoxInputDelay Property
Specifies the time interval between the last typed character in the search box and the consequent search text update.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
Declaration
[DefaultValue(1200)]
[Parameter]
public int SearchBoxInputDelay { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Int32 | 1200 | The time interval, in milliseconds. |
Remarks
When the ShowSearchBox property is set to true
, the Grid displays the search box. Users can type text in the box editor to locate data. Use the SearchBoxInputDelay
property to adjust the time interval between the last character typed into the search box and the consequent search text update. Alternatively, a user can press the Enter key or move focus from the editor to update the search text immediately.
<DxGrid Data="@Data" ShowSearchBox=true SearchBoxInputDelay="2000">
<Columns>
<DxGridDataColumn FieldName="ContactName" />
<DxGridDataColumn FieldName="CompanyName" />
<DxGridDataColumn FieldName="City" />
<DxGridDataColumn FieldName="Country" />
</Columns>
</DxGrid>
For more information about search in the Grid component, refer to the following topic: Search Box in Blazor Grid.