Tab

FileManagerFileListDetailsViewSettings.ShowHeaderFilterButton Property

Gets or sets whether column headers display filter buttons.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

[DefaultValue(false)]
public bool ShowHeaderFilterButton { get; set; }
<DefaultValue(False)>
Public Property ShowHeaderFilterButton As Boolean

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:

Library Object Type Path to ShowHeaderFilterButton
ASP.NET MVC Extensions MVCxFileManagerSettingsFileList
.DetailsViewSettings.ShowHeaderFilterButton
MVCxFileManagerSettingsFileList
.DetailsViewSettings.ShowHeaderFilterButton
ASP.NET Web Forms Controls HtmlEditorDocumentSelectorFileListSettings
.DetailsViewSettings.ShowHeaderFilterButton
HtmlEditorFileManagerFileListSettings
.DetailsViewSettings.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 (declaratively):

<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