I am using mgt-file-list component and clicking on folder opens a new window.I want to stop it. I checked the code and there is a property which I need to target - disable-open-on-click which is set to false in code, see link below. That’s also not available for external to use/change. Can anyone know how to stop folder opening in new window. Only files should open in new window. We don’t want folder to open in new window.
Graph Toolkit - Clicking on folder opens a new window in mgt-file-list
45 Views Asked by user25879 At
1
There are 1 best solutions below
Related Questions in MICROSOFT-GRAPH-TOOLKIT
- Is it possible to read custom fields added to an Event if the signed-in user is not the organizer?
- Is there a way to hide the chat feature in the person-card component?
- PnP Modern Search + Microsoft Graph Toolkit registry issue
- How to use Microsoft Graph Toolkit with Blazor Server
- Microsoft Graph Toolkit - TeamsFxProvider - Getting empty token on iOS devices
- getting the access token from mgt-login with globalProvider.getAccessToken. How do i get a refresh token?
- Teams Tab App - MGT - TeamsFxProvider - When should an interactive login be required?
- What is the event for upload in the mgt-file-list component
- Graph Toolkit SPFx PeoplePicker (mgt-spfx,mgt-react) does it retieve/can be used with SharePoint groups?
- Graph Toolkit - mgt-picker and mgt-channel-picker - Clear the selected value
- Graph Toolkit - Clicking on folder opens a new window in mgt-file-list
- @microsoft/mgt and mgt-msal2-provider compatibility with @Angular@16
- How to correctly reset mgt-people-picker in JavaScript
- MS Graph toolkit components with app-auth?
- How to get the selected "Person Type" (user or group) from the Microsoft Graph Toolkit People Picker control in javascript?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
There's is now an attribute,
disable-open-on-clickto suppress this behavior, once you have suppressed the default open on click, you can add your own custom behavior when items in the file list are clicked on, take a look at this story to guide you on that implementation: https://mgt.dev/?path=/story/components-mgt-file-list--events