Skip to main content
All docs
V22.1
Tab

GridColumnNumericRangeTrackBarSettings Class

Contains settings of the track bar in the header filter.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

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