Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

View should call another view's function to create an if-else statement but doesnt work..

Hello,

As I 'm developing my app, I have a page which is included 3 buttons. I created a view has included 1 table which is following on second button but right now, I need when I press the third button view should come but one of the view's table's column shouldn't appear which should come unvisible.

In my opinion, Exactly I should create if-else statement on this view. But how can I create an if else statement referred another view's buttons. ?

button:function(){

     

  app.to("page5");    

     

  }

This is a part of button's view.controller.

Can you help me how can I call from another view this function and do if else statement for I need ?

Thanks,

Ogulcan G.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question