Tab

FileManagerFileListDetailsViewSettings.AllowColumnResize Property

Gets or sets a value that specifies whether the columns can be resized by end-users on the client side.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

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

Property Value

Type Default Description
Boolean

false

true if column resizing is allowed; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowColumnResize
ASP.NET MVC Extensions MVCxFileManagerSettingsFileList
.DetailsViewSettings.AllowColumnResize
MVCxFileManagerSettingsFileList
.DetailsViewSettings.AllowColumnResize
ASP.NET Web Forms Controls HtmlEditorDocumentSelectorFileListSettings
.DetailsViewSettings.AllowColumnResize
HtmlEditorFileManagerFileListSettings
.DetailsViewSettings.AllowColumnResize
FileManagerSettingsFileList
.DetailsViewSettings.AllowColumnResize

Remarks

Example

Web Forms (declaratively):

<dx:ASPxFileManager ID="fileManager" runat="server" >
    <SettingsFileList View="Details">
        <DetailsViewSettings AllowColumnResize="true" AllowColumnDragDrop="true" 
        AllowColumnSort="true" ShowHeaderFilterButton="false" />
    </SettingsFileList>
    ...
</dx:ASPxFileManager>

Web Forms (in code):

ASPxFileManager fm = new ASPxFileManager();
...
fm.SettingsFileList.View = FileListView.Details;
fm.SettingsFileList.DetailsViewSettings.AllowColumnResize = true;
fm.SettingsFileList.DetailsViewSettings.AllowColumnDragDrop = true;
fm.SettingsFileList.DetailsViewSettings.AllowColumnSort = true;
fm.SettingsFileList.DetailsViewSettings.ShowHeaderFilterButton = false;

MVC:

@Html.DevExpress().FileManager( settings => {
    settings.Name = "fileManager";
    settings.SettingsFileList.View = FileListView.Details;
    settings.SettingsFileList.DetailsViewSettings.AllowColumnResize = true;
    settings.SettingsFileList.DetailsViewSettings.AllowColumnDragDrop = true;
    settings.SettingsFileList.DetailsViewSettings.AllowColumnSort = true;
    settings.SettingsFileList.DetailsViewSettings.ShowHeaderFilterButton = false
    ...
}).BindToFolder(Model).GetHtml()

Online Demo

See Also