cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove the left/right margin?

rammel_sapdev
Participant
0 Kudos
122

rammel_sapdev_0-1746823048492.png

Hi, 

Is there a way to remove the left/right margin so I can display the entire TreeTable?

Accepted Solutions (1)

Accepted Solutions (1)

FabioPagoti
Active Contributor
0 Kudos

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
    }
}

Source: Manifest (Descriptor for Applications, Components, and Libraries) - Documentation - Demo Kit - SAPUI...

rammel_sapdev
Participant
Thank you so much!

Answers (1)

Answers (1)

M-K
Active Participant
0 Kudos

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