Hello…
Wend I load first data in datatable, I need click in icon sidebar or scroll in horizontal bar for I can show data, look this short video:
vimeo.com/189759060
I configure datatable with:
{ view: "datatable",
id: "grid_recibidos",
select: "row",
adjust: true,
footer: true,
resizeColumn: true,
headermenu: true,
columns: grid_recibidos_cols,
datafetch: 100,
url: "recibidos",
onClick:{
cmd_down_xml: cmd_down_xml_click,
cmd_down_pdf: cmd_down_pdf_click,
},
scheme:{
$init: function(obj){ obj.index = this.count(); },
},
},
I load config wend click in option sidebar with:
function sidebar_click(id, e, node){
; switch (id){
case 'cfdi_recibidos':
if ($$("grid_recibidos") != undefined){
break;
};
webix.ui({
cols: [{
type: "space",
id: "app_main",
rows: app_recibidos,
}]
}, $$('app_main'));
break;
case 'cfdi_emitidos':
alert('Emitidos')
break;
};
};
I try refresh datatable, but, not work…
Why?
Thanks in advance