Skip to main content
All docs
V24.1
Tab

GridDataColumnHeaderFilterSettings.NumericRangeTrackBarSettings Property

Gets the settings of the track bar in the header filter.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public GridColumnNumericRangeTrackBarSettings NumericRangeTrackBarSettings { get; }

Property Value

Type Description
GridColumnNumericRangeTrackBarSettings

An object that contains the track bar settings.

Remarks

Set a numeric column’s SettingsHeaderFilter.Mode property to NumericRangePicker to display two spin editors and a track bar in the column header filter. Use the SettingsHeaderFilter.NumericRangeTrackBarSettings property to access and customize the track bar’s settings.

The example below demonstrates how to customize the track bar’s setiings:

<dx:ASPxGridView ID="grid" runat="server" DataSourceID="ObjectDataSource1" Width="100%">
    <Columns>
        <dx:GridViewDataColumn FieldName="Duration" Settings-AllowHeaderFilter="true">
            <SettingsHeaderFilter Mode="NumericRangePicker">
                <NumericRangeTrackBarSettings ShowChangeButtons="true"/>
            </SettingsHeaderFilter>
        </dx:GridViewDataColumn>
        <!-- ... -->
    </Columns>
    <Settings ShowFilterBar="Visible" />
</dx:ASPxGridView>

Run Demo: Range Header Filter

See Also