а

How to disable "onBeforeViewChange" in some cases?


#1

I would like that entering a value in a section or expanding it does not call this event, is this possible?


#2

Hi,

This event fires before the user changes the current view to some other one. I don’t fully understand how “entering a value in a section or expanding it” calls this event in your app.
Additional info with demo will be appreciate.

Nonetheless, you can add variable=0 and use it as a flag. When “entering a value in a section or expanding it”
happens - set 1 as a value of the variable and check it in the onBeforeViewChange handler. If val==1 -> return false.