Skip to main content
All docs
V24.1
Tab

GridColumnNumericRangeTrackBarSettings Class

Contains settings of the track bar in the header filter.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public class GridColumnNumericRangeTrackBarSettings :
    StateManager

The following members return GridColumnNumericRangeTrackBarSettings objects:

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

Implements

Inheritance

Object
StateManager
GridColumnNumericRangeTrackBarSettings
See Also