Ok So I have a JSON response of:
{ “PAGE” : 1.0,
“RECORDS” : 1.0,
“ROWS” : [ [ 2410641,
“PUB JOB TITLE”,
“Employee”,
“Full Time”,
“MY JOB REQUIREMENTS”,
“PLEASE CONTACT ME AT xxx. TODAY!”,
“Jill.xxx@xxx.com”,
“MY JOB DESCRIPTION”,
“August, 13 2012 12:58:29”,
“Clinical Research”,
“Colorado-Grand Junction^Colorado-Denver”,
“Chester”,
15.0,
“JANITOR^Biometrics^Biostatistics”,
“47,53”,
0.0
] ],
“TOTAL” : 1.0
}
My problem is that my grid will not be displaying ALL of these fields. I am displaying the first 4, but then I'm not displaying any more until the 9th item. So how in my column model do I tell my 5th item to actually display the NINTH item in the JSON? Here is my current colModel:
colModel :[
{name:'OrderID',index:'o.orderID', sorttype:'int', title:false},
{name:'JobTitle',index:'o.WebJobTitle', sorttype:'string', title:false},
{name:'JobType',index:'o.webJobType', sorttype:'string', title:false},
{name:'JobStatus',index:'o.webJobStatus', sorttype:'string', title:false},
{name:'UpdatedOn',index:'o.UpdateDate', sorttype:'date', title:false, jsonmap:8}
]
This is where I am assuming I need to use jsonmap to map to a value further in the array but not sure how.
THANKS
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top