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"
});});