Welcome to the JavaScript feedback portal. We’re happy you’re here! If you have feedback on how to improve the JavaScript, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

I've created a FileManager using the basic sample code


ej.base.enableRipple(true);

    ej.filemanager.FileManager.Inject( ej.filemanager.DetailsView, ej.filemanager.Toolbar, ej.filemanager.NavigationPane );

    var hostUrl = GSDUtils.resolveUrl'api/Resources' );

    var fileObject = new ej.filemanager.FileManager({
            ajaxSettings: {
                urlhostUrl + 'FileOperations',
                downloadUrlhostUrl + 'Download',
                uploadUrlhostUrl + 'Upload'
            },
        allowMultiSelectionfalse,
        allowDragAndDropfalse,
        view'Details'

    });
    fileObject.appendTo'#filemanager' );

The component loads and populates as expected, however, when I click on a folder in the folder Tree (left hand pane) I get a scripting error in the console - "Cannot read property 'classList' of null"

treeview.js:1396 Uncaught TypeError: Cannot read property 'classList' of null

    at t.clickHandler (treeview.js:1396)

    at tap (treeview.js:3831)

    at e.notify (observer.js:99)

    at t.e.trigger (base.js:181)

    at t.n.endEvent (touch.js:118)

The scripts are loaded using the latest version from the CDN 


Can you suggest where the problem might be ?


Thanks


Gary