jQWidgets Forums
Forum Replies Created
-
Author
-
Ok, I´ll see what is happening to send you !
Thank You
this is the format of exported data, I´ve chose CSV
“Pedido”,”Código”,”Quantidade”,”Qtde. Pedido”,”Divergência”,”Data”
“0000002”,”012345678901″,”0.00″,”1.00″,”0.00″,”02/05/17″
“0000002”,”012345678902″,”0.00″,”2.00″,”0.00″,”02/05/17″
“0000002”,”012345678903″,”0.00″,”3.00″,”0.00″,”02/05/17″
“0000002”,”012345678904″,”0.00″,”4.00″,”0.00″,”02/05/17″
“0000002”,”012345678905″,”0.00″,”5.00″,”0.00″,”02/05/17″
“0000002”,”012345678906″,”0.00″,”6.00″,”0.00″,”02/05/17″
“0000002”,”012345678907″,”0.00″,”7.00″,”0.00″,”02/05/17″
“0000002”,”012345678908″,”0.00″,”8.00″,”0.00″,”02/05/17″simple, there a directory
img\
inside a image barcode.pngI putting in the img source:
‘img\barcode.png’
don´t show
if I put ‘fastmobile.info/img/barcode.png’ it goes, but I want to show the image in the img\ directory !
thanks !
ok, but still not givin me any result, blank, or hang the app
I´m doing this:JavaScript
var source =
{
localdata: dataConfPed,
datatype: “array”,
datafields:
[{ name: ‘pedido’ , type: ‘string’ },
{ name: ‘codigo’ , type: ‘string’ },
{ name: ‘quantidade’ , type: ‘number’ },
{ name: ‘qtdeoficial’, type: ‘number’ },
{ name: ‘divergencia’, type: ‘number’ },
{ name: ‘data’ , type: ‘string’ } ]
};
End JavaScript
debugger
‘source = {localdata: dataConfPed, datatype: “array”};
dataAdapter = new $.jqx.dataAdapter(source);
NSB.jqxSettings[“grdExporta”].source = dataAdapter
NSB.jqxSettings[“grdExporta”].columns = [ _
{ text: “Pedido” , dataField: “pedido” , width: 80 , columntype: “textbox” ,cellsalign: “left” }, _
{ text: “Código” , dataField: “codigo” , width: 180 , columntype: “textbox” ,cellsalign: “left” }, _
{ text: “Quantidade” , dataField: “quantidade” , width: 90 , columntype: “numberinput” ,cellsformat: “F2”,cellsalign: “right”}, _
{ text: “Qtde. Pedido” , dataField: “qtdeoficial”, width: 90 , columntype: “numberinput” ,cellsformat: “F2”,cellsalign: “right” }, _
{ text: “Divergência” , dataField: “divergencia”, width: 90 , columntype: “numberinput” ,cellsformat: “F2”,cellsalign: “right” }, _
{ text: “Data” , dataField: “data” , width: 80 , columntype: “textbox”,cellsalign: “right”} _
]
$(“#grdExporta”).jqxGrid(NSB.jqxSettings[“grdExporta”]);cDadosArquivo=$(“#grdExporta”).jqxGrid(“exportdata” , “csv” )
and nothing is happenning ! It´s export some kind of raw data !
Ok, but it´s in a app android !
April 19, 2017 at 9:29 pm in reply to: JqxColumn width and decimal separator JqxColumn width and decimal separator #93010Thank you !
Hehe !!!! It Workeeeeeeed !
Thanks !!!
Didn´t work !
look the setup :
grdConfPed_settings.columns = [ _
{ text: “ID” , datafield: “id” , width: 45 , cellsalign: “RIGHT” , editable: False, columntype:”textbox” }, _
{ text: “Data” , datafield: “dataemi” , width: 80 , cellsalign: “right” , editable: False, columntype:”textbox” }, _
{ text: “Cód. Cliente” , datafield: “codcli” , width: 50 , cellsalign: “left” , editable: False, columntype:”textbox” },_
{ text: “Cliente” , datafield: “cliente” , width: 80 , cellsalign: “right” , editable: False, columntype:”textbox” }, _
{ text: “Cód.Repres.” , datafield: “codrepr” , width: 50 , cellsalign: “left” , editable: False, columntype:”textbox” }, _
{ text: “Representante” , datafield: “representa” , width: 80 , cellsalign: “right” , editable: False, columntype:”textbox” }, _
{ text: “Kg” , datafield: “quantidade” , width: 80 , cellsalign: “right”, cellsformat: “F2″, columntype:”numberinput” },_
{ text: “Preço” , datafield: “preco” , width: 90 , cellsalign: “right”, cellsformat: “C2″, columntype:”numberinput” },_
{ text: “Código” , datafield: “codigo” , width: 80 , cellsalign: “left” , editable: False, columntype:”textbox”},_
{ text: “Descricao” , datafield: “descricao” , width: 170 , cellsalign: “left” , editable: False, columntype:”textbox” } ,_
{ text: “Total Item” , datafield: “total” , width: 120 , cellsalign: “right”, cellsformat: “C2″, editable: False, columntype:”numberinput”}, _
{ text: “Observação” , datafield: “observacao” , width: 300 , cellsalign: “right” , editable: True, columntype:”textbox” } _
]Ok, I saw the “syntax” and will apply , thank you so much
Is this you talking about ? :
grdConfPed_settings.columns = [ _
{ text: “ITEM” , datafield: “item” , width: 45 , cellsalign: “RIGHT” , editable: False }, _
{ text: “Data” , datafield: “dataemi” , width: 80 , cellsalign: “right” , editable: False }, _
{ text: “Cód. Cliente” , datafield: “codcli” , width: 50 , cellsalign: “left” , editable: False },_
{ text: “Cliente” , datafield: “cliente” , width: 80 , cellsalign: “right” , editable: False }, _
{ text: “Cód.Repres.” , datafield: “codrepr” , width: 50 , cellsalign: “left” , editable: False }, _
{ text: “Representante” , datafield: “representa” , width: 80 , cellsalign: “right” , editable: False }, _
{ text: “Kg” , datafield: “quantidade” , width: 80 , cellsalign: “right”, cellsformat: “F2” },_
{ text: “Preço” , datafield: “preco” , width: 90 , cellsalign: “right”, cellsformat: “C2” },_
{ text: “Código” , datafield: “codigo” , width: 80 , cellsalign: “left” , editable: False},_
{ text: “Descricao” , datafield: “descricao” , width: 170 , cellsalign: “left” , editable: False } ,_
{ text: “Total Item” , datafield: “total” , width: 120 , cellsalign: “right”, cellsformat: “C2”, editable: False}, _
{ text: “Observação” , datafield: “observacao” , width: 300 , cellsalign: “right” , editable: True } _
]thsi is the result in csv:
“ITEM”,”Data”,”Cód. Cliente”,”Cliente”,”Cód.Repres.”,”Representante”,”Kg”,”Preço”,”Código”,”Descricao”,”Total Item”,”Observação”
“12/31/1969″,”14/10/14″,”12/31/1969″,”ADÃO – COPACABANA”,”12/31/1969″,”VIVIAN”,”20,00″,”$ 50,00″,”12/31/1969″,”CAMARAO 20/30 INTEIRO IQF CX 10KG”,”$ 1.000,00″,”12/31/1969″
“12/31/1969″,”14/10/14″,”12/31/1969″,”ADÃO – COPACABANA”,”12/31/1969″,”VIVIAN”,”20,00″,”$ 60,00″,”12/31/1969″,”CAMARAO 16/20 INTEIRO IQF CX 10KG”,”$ 1.200,00″,”12/31/1969″and the same happens when export to CSV
September 27, 2014 at 9:55 pm in reply to: Button column with image/icon Button column with image/icon #60195Thank You !
-
AuthorPosts