"showOverlay" is not working.

edited November 8 in Technical questions

Hi,

By loading data from server side , I use "init(view)" instead of "url:xxx.php" , but "showOverlay" is not working.

How can I solve the question ?
Please help.

Thanks
Willy

import {data} from "models/device_trans";

export default class DeviceTransView extends JetView{
    config(){
        return layout;
    }
    init(view){
        view.queryView({ view:"datatable" }).parse(data);
    }
}
-----------------------------------------------------
webix.ui({
    view:"datatable",
    on:{
        onBeforeLoad:function(){
            this.showOverlay("Loading...");
        },
        onAfterLoad:function(){
            this.hideOverlay();
        }
    },
    //url:"data/table_data.php"
});});
Tagged:

Comments

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!

In this Discussion