Skip to Content
avatar image
Former Member

sap.ui.layout.form.FormContainer styling

new sap.ui.layout.form.FormContainer({

}),

Hello,

I have a formcontainer being instantiated as above (except the real one has a bunch of content in it) and I was wondering if there is a way to style this specific form container. I cannot add an ID to it for functional reasons and when i try .addStyleClass("classname") it gives an error. Does anyone know how I can add a style class to this specific formcontainer?

thank you so much in advance!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Oct 29, 2015 at 05:03 PM

    Hi Edward,

    Use toggleStyleClass more info - SAPUI5 SDK - Demo Kit

    Hope this helps.

    Add comment
    10|10000 characters needed characters exceeded