All I am getting is
well, I don't get the error, but it is not printing the jobtitle
{“page”:”1″,”total”:”10″,”records”:”200″,”rows”:[{“id”:”07cdfe80d6f9ff90″,”cell”:[“Coldfusion Developer”]},{“id”:”2be8c12f9c2070ed”,”cell”:[“Application Developer (ColdFusion)”]},{“id”:”3b27f5e665d47a69″,”cell”:[“ColdFusion 8 – Display Query Results with Grouping Header”]},{“id”:”6e18b8ce35b1003a”,”cell”:[“ColdFusion Developer Software Engineer”]},{“id”:”9c09406fbdbb5074″,”cell”:[“ColdFusion Developer”]},{“id”:”b57fd769859efb95″,”cell”:[“ColdFusion Developer”]},{“id”:”24e2e171ab5978be”,”cell”:[“Web Programmer (ColdFusion)”]},{“id”:”0569b6746c5d6ad2″,”cell”:[“ColdFusion Developer – NEEDED NOW! – 71292.749738”]},{“id”:”2b597bbcda082bca”,”cell”:[“ColdFusion Developer – Software Engineer – Contractor”]},{“id”:”3b7acbf84bc5a43c”,”cell”:[“ColdFusion Developer – Software Engineer – Contractor”]},{“id”:”449474444bad9776″,”cell”:[“ColdFusion Developer”]},{“id”:”462326cdc1e9b410″,”cell”:[“Javascript Web Programmer – Web Developer- ExtJS – Coldfusion”]},{“id”:”6b8a898e2324ef3d”,”cell”:[“ColdFusion Developer – Software Engineer – Contractor”]},{“id”:”7fdb0eb66a7e9a1b”,”cell”:[“Coldfusion Developer”]},{“id”:”93ce028e33441e8d”,”cell”:[“ColdFusion Developer – Software Engineer – Contractor”]},{“id”:”c1c53b57dd74639e”,”cell”:[“ColdFusion Developer – Software Engineer – Contractor”]},{“id”:”d42850e52c99b7bc”,”cell”:[“ColdFusion Developer – Software Engineer – Contractor”]},{“id”:”db429ded8f26e877″,”cell”:[“Coldfusion Developer – 3 positions available”]},{“id”:”fdb11b219385a24f”,”cell”:[“Coldfusion Developer”]},{“id”:”0248f8a3651965d9″,”cell”:[“QA Engineer – Whitebox tester – Java/Coldfusion”]}]}
I fixed those issues, i didn't want the URL as a column, that's why it wasn't there. But I added it. I am still getting the exact same error.
Sorry, here is more info
I don't know what the problem is, Firebug keeps telling me I am missing ]. But i went through the json several times and couldn't find an issue.
jqGrid: latest
OS: Vista
Browser: FF 3.5
<script type="text/javascript">
$(document).ready(function(){
$("#job-list").jqGrid({
url:'/com/indeed.cfc?method=getJobs',
datatype: 'json',
colNames:['Job Title','Company', 'City','State','Country','Date'],
colModel :[
{name:'jobtitle', index:'jobtitle', width:150},
{name:'company', index:'company', width:125},
{name:'city', index:'city', width:80},
{name:'state', index:'state', width:50},
{name:'country', index:'country', width:50},
{name:'jobdate', index:'jobdate', width:100}
],
jsonReader: {
root:'data',
records:20,
repeatitems:false,
id : 'jobkey'
},
pager: '#job-pager',
rowNum:20,
rowList:[10,20,30],
sortname: 'jobdate',
sortorder: 'desc',
viewrecords: true
});
});
|
1 |
<br /> |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top