Your search did not match any results.
File Manager

Entity Framework ORM

The File Manager widget allows you to manage file system items that use the Entity Framework ORM to link to a database. You can use the Remote File Provider to connect to the file system on the client side. To process the widget's HTTP requests on the server, create your own file provider, which implements the IFileProvider interface.

Copy to CodePen
Apply
Reset
$(function () { $("#file-manager").dxFileManager({ name: "fileManager", currentPath: "Documents/Reports", fileProvider: new DevExpress.fileProviders.Remote({ endpointUrl: "https://js.devexpress.com/Demos/Mvc/api/file-manager-db" }), permissions: { create: true, copy: true, move: true, remove: true, rename: true }, allowedFileExtensions: [], customizeDetailColumns: function(columns){ var fileSizeColumn = columns.filter(function(c) { return c.dataField === "fileSize"; })[0]; columns.splice(columns.indexOf(fileSizeColumn), 1); var modifiedColumn = columns.filter(function(c) { return c.dataField === "dateModified"; })[0]; modifiedColumn.caption = "Modified"; columns.push({ caption: "Created", dataField: "created", dataType: "date" }); columns.push({ visibleIndex: 2, caption: "Modified By", dataField: "modifiedBy" }); return columns; } }); });
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>DevExtreme Demo</title> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> <script>window.jQuery || document.write(decodeURIComponent('%3Cscript src="js/jquery.min.js"%3E%3C/script%3E'))</script> <link rel="stylesheet" type="text/css" href="https://cdn3.devexpress.com/jslib/19.2.4/css/dx.common.css" /> <link rel="stylesheet" type="text/css" href="https://cdn3.devexpress.com/jslib/19.2.4/css/dx.light.css" /> <script src="https://cdn3.devexpress.com/jslib/19.2.4/js/dx.all.js"></script> <script src="index.js"></script> <link rel="stylesheet" type="text/css" href="styles.css" /> </head> <body class="dx-viewport"> <div class="demo-container"> <div id="file-manager"></div> </div> </body> </html>