>From TG Debug:
09:41:42,516 DEBUG [sensadata.controllers.root] {'records': '10',
'total': '2', 'rows': [{'cell': ['12915101', '0', 'on_
us', '', '8000.00', 'None', None, None, None, u'Cr Item Amt. Exceeds
Avg. ', None, 'MAGFLUX PAYROLL ACCOUNT', 'cust4
'], '"id"': '573960'}, {'cell': ['12915101', '0', 'on_us', '',
'8000.00', 'None', None, None, None, u'Large Single Cash-
Out ', None, 'MAGFLUX PAYROLL ACCOUNT', 'cust4'], '"id"':
'573961'}, {'cell': ['12915101', '0', 'on_us', '', '86
00.00', 'None', None, None, None, u'Db Item Amt. Exceed Avg. ',
None, 'MAGFLUX PAYROLL ACCOUNT', 'cust4'], '"id"':
'573962'}, {'cell': ['12915101', '0', 'on_us', '', '8600.00', 'None',
None, None, None, u'Cr Item Amt. Exceeds Largest
', None, 'MAGFLUX PAYROLL ACCOUNT', 'cust4'], '"id"': '573963'},
{'cell': ['12907001', '5836', 'on_us', '"11064966"', '1
000.00', 'None', None, None, None, u'Db Item Amt. Exceed Avg. ',
None, 'TEXCHEM CORP', 'cust3'], '"id"': '573969'},
{'cell': ['10009901', '0', 'on_us', '"11063476"', '10676.10', 'None',
None, None, None, u'Cr Item Amt. Exceeds Avg.
', None, 'ARMANDO X LOPEZ', 'AXLOPEZ'], '"id"': '573964'}, {'cell':
['10009901', '100', 'on_us', '1234', '5500.00', 'No
ne', None, None, None, u'Db Duplicate Item Number ', None,
'ARMANDO X LOPEZ', 'AXLOPEZ'], '"id"': '573965'}, {'cell
': ['10009901', '100', 'on_us', '1234', '5500.00', 'None', None, None,
None, u'Db Item Amt. Exceed Avg. ', None, 'A
RMANDO X LOPEZ', 'AXLOPEZ'], '"id"': '573966'}, {'cell': ['10009901',
'100', 'on_us', '2345', '5500.00', 'None', None, N
one, None, u'Db Duplicate Item Number ', None, 'ARMANDO X LOPEZ',
'AXLOPEZ'], '"id"': '573967'}, {'cell': ['1000990
1', '100', 'on_us', '2345', '5500.00', 'None', None, None, None, u'Db
Item Amt. Exceed Avg. ', None, 'ARMANDO X LOP
EZ', 'AXLOPEZ'], '"id"': '573968'}], 'page': u'1'}
>From Firebug , response:
{"records": "10", "total": "2", "rows": [{"cell": ["12915101", "0",
"on_us", "", "8000.00", "None", null, null, null, "Cr Item Amt.
Exceeds Avg. ", null, "MAGFLUX PAYROLL ACCOUNT", "cust4"], "\"id
\"": "573960"}, {"cell": ["12915101", "0", "on_us", "", "8000.00",
"None", null, null, null, "Large Single Cash-Out ", null,
"MAGFLUX PAYROLL ACCOUNT", "cust4"], "\"id\"": "573961"}, {"cell":
["12915101", "0", "on_us", "", "8600.00", "None", null, null, null,
"Db Item Amt. Exceed Avg. ", null, "MAGFLUX PAYROLL ACCOUNT",
"cust4"], "\"id\"": "573962"}, {"cell": ["12915101", "0", "on_us", "",
"8600.00", "None", null, null, null, "Cr Item Amt. Exceeds Largest ",
null, "MAGFLUX PAYROLL ACCOUNT", "cust4"], "\"id\"": "573963"},
{"cell": ["12907001", "5836", "on_us", "\"11064966\"", "1000.00",
"None", null, null, null, "Db Item Amt. Exceed Avg. ", null,
"TEXCHEM CORP", "cust3"], "\"id\"": "573969"}, {"cell": ["10009901",
"0", "on_us", "\"11063476\"", "10676.10", "None", null, null, null,
"Cr Item Amt. Exceeds Avg. ", null, "ARMANDO X LOPEZ", "AXLOPEZ"],
"\"id\"": "573964"}, {"cell": ["10009901", "100", "on_us", "1234",
"5500.00", "None", null, null, null, "Db Duplicate Item Number ",
null, "ARMANDO X LOPEZ", "AXLOPEZ"], "\"id\"": "573965"}, {"cell":
["10009901", "100", "on_us", "1234", "5500.00", "None", null, null,
null, "Db Item Amt. Exceed Avg. ", null, "ARMANDO X LOPEZ",
"AXLOPEZ"], "\"id\"": "573966"}, {"cell": ["10009901", "100", "on_us",
"2345", "5500.00", "None", null, null, null, "Db Duplicate Item
Number ", null, "ARMANDO X LOPEZ", "AXLOPEZ"], "\"id\"":
"573967"}, {"cell": ["10009901", "100", "on_us", "2345", "5500.00",
"None", null, null, null, "Db Item Amt. Exceed Avg. ", null,
"ARMANDO X LOPEZ", "AXLOPEZ"], "\"id\"": "573968"}], "page": "1"}
Can you explain why a difference? Is the firebug version after JS
processing/decoding?
I am trying to understand all of the processes.
Thanks.
On Jun 16, 5:46 pm, "Diez B. Roggisch" <[email protected]> wrote:
> Am 17.06.2010 um 00:11 schrieb Ed Valentine:
>
> > Which version of jqgrid are you using? I have code very similar to
> > yours and it has been working with jqgrid 3.4.
>
> > I am looking at version 3.6 and current version 3.7.1 and found that
> > the json format returned from TG2 needs to change as indicated in the
> > following from the web site.;
>
> Please, instead of quoting documents that gave you the idea that this
> *could* be the cause of your problem, answer the questions I asked you
> twice, and will ask you a third time:
>
> What does the actual output of your TG controllers look like? As I
> have showed you already, under normal circumstances the JSON-output of
> TG should be just fine.
>
> Diez
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.