Back to Devexpress

DxGrid.SearchBoxInputDelay Property

blazor-devexpress-dot-blazor-dot-dxgrid-524cfcc0.md

latest2.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(1200)]
[Parameter]
public int SearchBoxInputDelay { get; set; }

Property Value

TypeDefaultDescription
Int321200

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.

razor
<DxGrid Data="@Data" ShowSearchBox=true SearchBoxInputDelay="2000">
    <Columns>
        <DxGridDataColumn FieldName="ContactName" />
        <DxGridDataColumn FieldName="CompanyName" />
        <DxGridDataColumn FieldName="City" />
        <DxGridDataColumn FieldName="Country" />
    </Columns>
</DxGrid>

For additional information about search in the Grid component, refer to the following topic: Search Box in Blazor Grid.

Implements

SearchBoxInputDelay

See Also

DxGrid Class

DxGrid Members

DevExpress.Blazor Namespace