While using this in datatable columns:
{
id: 'tasktype_id',
editor: 'combo',
suggest: common.table.sizing(),
header: _tables.kind,
adjust: 'data',
autowidth: true,
options: 'getOptions->Tasktypes',
},
and getOptions is a customer proxy with:
webix.proxy.getOptions = {
init:function(){
webix.extend(this, webix.proxy.rest);
},
$proxy:true,
load: function(view,params){
let source = this.source;
let result = webix.storage.local.get(source);
//result=null;
if(result){
console.log('load '+source+' options from cache');
return result;
}
let url = '/'+source+'/getOptions';
return webix.ajax(url,function(text,data){
console.log('load '+source+' options from server');
webix.storage.local.put(source, data.json());
});
},
save:function(view, params){
return webix.proxy.rest.save.call(this, view, params);
}
};
This has been worked well in version 9.0.0 but not in 9.2.0 anymore
I can’t change my version to 9.2.0 or higher before I resolved this problem. And I don’t know where to search for this error??
So please HELP ME Thank you
Michael