Skip to main content
All docs
V24.2
Tab

GridDataColumnHeaderFilterSettings.NumericRangeTrackBarSettings Property

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

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

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