on 2025 May 09 9:38 PM
Hi,
Is there a way to remove the left/right margin so I can display the entire TreeTable?
Request clarification before answering.
Just change (or add if it's missing) the "fullWidth" property inside your "manifest.json" file to "true".
This goes inside path "sap.ui"
{
"sap.ui": {
"fullWidth": true
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The margin (not the CSS margin) on the left and right sides of the launched app is the shell UI's letterboxing concept. You can enable or disable it depending on the scenarios as I've described here: How to disable or enable letterboxing and adjust UI5 for the widescreen? - Stack Overflow
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi rammel_sapdev,
this could be some padding from the surronding container control. Check if you can apply "sapUiNoContainerPadding" as CSS class to it:
https://sapui5.hana.ondemand.com/#/entity/sap.ui.core.ContainerPadding
Maybe have a look at the TreeTable Example, too (this doesn't show any margin for me):
https://sapui5.hana.ondemand.com/#/entity/sap.ui.table.TreeTable
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 13 | |
| 7 | |
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.