Skip to main content
Tab

FileManagerFileListDetailsViewSettings.ShowHeaderFilterButton Property

Gets or sets whether column headers display filter buttons.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool ShowHeaderFilterButton { get; set; }

Property Value

Type Default Description
Boolean false

true to display filter buttons within column headers; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to ShowHeaderFilterButton
FileManagerSettingsFileList
.DetailsViewSettings .ShowHeaderFilterButton

Remarks

The file manager displays the file list in grid format when the FileManagerSettingsFileList.View property is set to Details. Click a filter button within column headers to invoke a filter dropdown. Use the filter dropdown to filter data in the file manager. By default, these buttons are hidden. Set the ShowHeaderFilterButton property to true.

Example

Web Forms (in markup):

<dx:ASPxFileManager ID="fileManager" runat="server" >
    <SettingsFileList View="Details">
        <DetailsViewSettings ShowHeaderFilterButton="true" ShowSelectAllCheckBox="true" />
    </SettingsFileList>
    ...
</dx:ASPxFileManager>

Web Forms (in code):

ASPxFileManager fm = new ASPxFileManager();
...
fm.SettingsFileList.View = FileListView.Details;
fm.SettingsFileList.DetailsViewSettings.ShowHeaderFilterButton = true;
fm.SettingsFileList.DetailsViewSettings.ShowSelectAllCheckBox = true; 

MVC:

@Html.DevExpress().FileManager( settings => {
    settings.Name = "fileManager";
    settings.SettingsFileList.View = FileListView.Details;
    settings.SettingsFileList.DetailsViewSettings.ShowHeaderFilterButton = true;
    settings.SettingsFileList.DetailsViewSettings.ShowSelectAllCheckBox = true; 
    ...
}).BindToFolder(Model).GetHtml()
See Also