problem with fnGetData/fnUpdate and column id
problem with fnGetData/fnUpdate and column id
motardinho
Posts: 1Questions: 0Answers: 0
Hi,
I got a problem with fnGetData and fnUpdate functions.
When I do :
[code]oTable.fnGetData(0)[/code], I got
[code]["TEST0 TEST0", "99900", "999GRP1", "ETAM/1.4.2", "14", "161,55", "0", "13", "38 000 €", "2 924 €", "2,05 %", "40 000 €", "1 200,00 €", "0,00 €", "0 €", "I.C/3.3", "33", "161,55", "0", "13", "42 560 €", "3 274 €", "12,00 %", "42 560 €", "1 200,00 €", "0,00 €", "0 €", "3801", "F", "INGENIEUR PRINCIPAL", "EMP 03", "16/11/1981", "31,0", "01/09/2011", "23/05/2011", "00/00/0000", "", "Maternité en 2012", "1"][/code]
this point is OK but when I do :
[code]oTable.fnGetData(0,20)[/code], I got
[code]"12,00 %"[/code] instead of [code]"42 560 €"[/code]
And its the same with fnUpdate function, if I do :
[code]oTable.fnUpdate("50000", 0, 20, false, false)[/code] it changes the value "12,00 %" to "50000" (index = 22)
Any idea ?
I got a problem with fnGetData and fnUpdate functions.
When I do :
[code]oTable.fnGetData(0)[/code], I got
[code]["TEST0 TEST0", "99900", "999GRP1", "ETAM/1.4.2", "14", "161,55", "0", "13", "38 000 €", "2 924 €", "2,05 %", "40 000 €", "1 200,00 €", "0,00 €", "0 €", "I.C/3.3", "33", "161,55", "0", "13", "42 560 €", "3 274 €", "12,00 %", "42 560 €", "1 200,00 €", "0,00 €", "0 €", "3801", "F", "INGENIEUR PRINCIPAL", "EMP 03", "16/11/1981", "31,0", "01/09/2011", "23/05/2011", "00/00/0000", "", "Maternité en 2012", "1"][/code]
this point is OK but when I do :
[code]oTable.fnGetData(0,20)[/code], I got
[code]"12,00 %"[/code] instead of [code]"42 560 €"[/code]
And its the same with fnUpdate function, if I do :
[code]oTable.fnUpdate("50000", 0, 20, false, false)[/code] it changes the value "12,00 %" to "50000" (index = 22)
Any idea ?
This discussion has been closed.