Navigate sub folder webix jet

I navigate route page
from app/page/partner/add.js
to app/page/partner/index.js

I try call with this nothing happen but no error

this.show("/app/page.partner");
this.$scope.show("/app/page.partner");
Tagged:

Comments

  • In case of Webix Jet 1.x it will be

    this.show("./index)

    or

    this.show("/app/page/partner/index")

    In both cases "index" must be part of the URL

  • edited November 2018

    Thanks @maksim
    I trace my problem cause can not override show function in sub and sub layout/class
    and also doesn't work without es6 fat arrow function
    NOT WORK

    {view: "button", value: "test", click: function(){
                    this.show("/app/setting")
                }},
    

    WORK

    {view: "button", value: "test", click: ()=>{
                    this.show("/app/setting")
                }},
    
  • edited November 2018

    Yep, for a common js function, it will be

    {view: "button", value: "test", click: function(){
                    this.$scope.show("/app/setting")
    }},
    
    • this - button widget
    • this.$scope - webix-jet view
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!