Skip to Content

How to hide Master page in SplitApp when you select a item in Master Page

I have made Split App .In master pages when i select any item master page should be hidden

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Dec 10, 2017 at 11:52 AM

    Hi,

    Try It. It'll wor.

    this.getView().getParent().getParent().setMode("ShowHideMode");
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 03 at 11:40 AM

    A more elegant way to do it would be using the sap.m.SplitContainer. You could set sap.m.SplitAppMode.HideMode.

    https://sapui5.hana.ondemand.com/#/api/sap.m.SplitAppMode

    https://sapui5.hana.ondemand.com/#/sample/sap.m.sample.SplitContainer/preview

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 11, 2017 at 04:21 AM

    Hi Rutuja Patil,

    Get your master page reference and use the method setVisible(false), on click of any master page items.

    Regards,

    Arjun Biswas

    Add comment
    10|10000 characters needed characters exceeded