Skip to Content

how to capture the show/hide event of a smartfilterbar

Hi Team,

Is there any event while pressing show/hide button in smart filter Bar.

Please let me know.

Thanks in advance

Abhi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 20, 2018 at 02:13 PM

    maybe you can try with getting the filterbar byId() and than adding an event listerener:

    var oFilterBar = this.getView().byId("yourFilterBarId");
    if (oFilterBar) {
    oFilterBar.addEventListener("click", handleButtonClicked, false);
    }
    

    Than implement handleButtonClicked but make sure that you check which button is clicked (btnShowHide)

    Add comment
    10|10000 characters needed characters exceeded