hi, i export my datatable to PDF with this code:
function EsportaPDF(){
var cCliente="";
webix.toPDF($$("datatable_lista_trattamenti"), {
docHeader: {
text: "HEADER",
textAlign:"center",
fontSize:12,
color:0x663399
},
table:{
textAlign:"right"
},
filename: "standby" + "_" + cCliente,
orientation:"landscape",
autowidth:true,
filterHTML:true,
columns:{
dtData:{ header:"Data", width:100,format:webix.Date.dateToStr("%d-%m-%Y")},
sDescTrattamento:{ header:"Trattamento", width:300},
sPagamentoPacchetto:{ header:"Pagamento/Pacchetto", width:150},
sEsitoPagamento:{ header:"Esito", width:100},
}
});
}
Why column dtData not formatting ??? i want day-month-year.