Method DocsView.setIncludeFolders
Show folders in the view items. Do not combine with setOwnedByMe
. When
setIncludeFolders(true)
is set, setOwnedByMe
is ignored.
If you don't set this option, folders aren't displayed in the view.
Signature
setIncludeFolders(included: boolean): DocsView;
Details
Optional |
No |
Final |
No |
Protected |
No |
Static |
No |
Parameters
Name |
Type |
Optional |
Description |
included |
boolean |
No |
|
Returns
DocsView
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-05 UTC.
[null,null,["Last updated 2024-11-05 UTC."],[[["The `setIncludeFolders` method controls the display of folders within the view items, and if set to `true`, it overrides the `setOwnedByMe` setting."],["By default, folders are not displayed in the view unless you explicitly enable them using this method."],["This method is a non-final, non-protected, and non-static member of the `DocsView` class and accepts a boolean parameter indicating whether to include folders."],["Utilizing `setIncludeFolders`, developers can manipulate the visibility of folders within the `DocsView` and ultimately refine the user's document browsing experience."]]],[]]