PDA

View Full Version : Getting JSON data from Div tag



giri_sri_d
25 Sep 2007, 11:53 AM
Hi,

I am trying to get the JSON data from the DIV tag


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<script src="yui-utilities.js" type="text/javascript"></script>
<script src="ext-yui-adapter.js" type="text/javascript"></script>
<script src="ext-all-debug.js" type="text/javascript"></script>
<script src="grid.js" type="text/javascript"></script>

<link href="./css/ext-all.css" media="screen" rel="Stylesheet" type="text/css" />

<style type="text/css">
.redcell { background-color:red !important;}
.greenrow { background-color:green !important;}
</style>

</head>

<body>
<div id="mygrid" style="border:1px solid #99bbe8;overflow: hidden; height: 300px;"></div>
<DIV id="jsonObj" style="DISPLAY: none">[{"age": "0","category": "N\/A","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-24-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 50009,"issueType": "Academic","lastUpdateOn": "09-25-2007","status": "New","studentIRN": "1234","studentName": "PANNA SRIMUSHNAM"},{"age": "0","category": "N\/A","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-24-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 50008,"issueType": "Enrollment","lastUpdateOn": "09-24-2007","status": "New","studentIRN": "123","studentName": "ANDREA CONDOMITTI"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17585,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9008448864","studentName": "NICK FOSTER"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17584,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9018845076","studentName": "MARY ANN NEVEL"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17583,"issueType": "Academic","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9006323358","studentName": "LINDSEY GORIS"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17582,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "3202797365","studentName": "HELEN GILES"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17581,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9003378778","studentName": "YASMIN MINOR-CUMMINGS"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17580,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "3104743387","studentName": "TAMMY BRADLEY"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17579,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "800033048","studentName": "GARY CRAWFORD"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17578,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9006965736","studentName": "BAMBI ATTLESON"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17577,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9002669742","studentName": "CARRIE BERNARD"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17576,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9016873632","studentName": "THOMAS LARNEY"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17575,"issueType": "Operational","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9016034275","studentName": "Martha Dukes"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17574,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9000282802","studentName": "JOANNE LEWIS"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17573,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "3703555135","studentName": "NICHOLAS LUDLOW"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17572,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9007735695","studentName": "VALAREE VANDERMEER (Valdez)"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17571,"issueType": "Operational","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9011423887","studentName": "Morgan Hurd"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17570,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9020226301","studentName": "CINDY SPENCER"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17569,"issueType": "Operational","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9018808961","studentName": "JOHN PATRICK"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17581,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9003378778","studentName": "YASMIN MINOR-CUMMINGS"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17580,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "3104743387","studentName": "TAMMY BRADLEY"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17579,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "800033048","studentName": "GARY CRAWFORD"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17578,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9006965736","studentName": "BAMBI ATTLESON"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17577,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9002669742","studentName": "CARRIE BERNARD"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17576,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9016873632","studentName": "THOMAS LARNEY"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17575,"issueType": "Operational","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9016034275","studentName": "Martha Dukes"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17574,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9000282802","studentName": "JOANNE LEWIS"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17573,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "3703555135","studentName": "NICHOLAS LUDLOW"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17572,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9007735695","studentName": "VALAREE VANDERMEER (Valdez)"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17571,"issueType": "Operational","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9011423887","studentName": "Morgan Hurd"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17570,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9020226301","studentName": "CINDY SPENCER"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17569,"issueType": "Operational","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9018808961","studentName": "JOHN PATRICK"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17568,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9018926293","studentName": "Lance Cook"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17567,"issueType": "Academic","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "1000941935","studentName": "LAURA VARGAS"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17566,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9012294727","studentName": "DONNA ZELLER"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17565,"issueType": "Operational","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9013225210","studentName": "Alexandra Zamor"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-01-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17564,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9007415425","studentName": "CATHERINE CHRISTIE"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-01-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17563,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9007304087","studentName": "JANICE BANASZEWSKI"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-01-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17562,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9011971721","studentName": "KIMBERLY DELONGCHAMP"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-01-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17561,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9009566408","studentName": "HELEN BLACK"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-01-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17560,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9012144409","studentName": "VERNON FOLEY"},{"age": "0","category": "Formal Grievance-Campus","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-01-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17559,"issueType": "Academic","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "1500141635","studentName": "Vivian Moore"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-01-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17558,"issueType": "Academic","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9007404176","studentName": "JESSICA MURPHY"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-01-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17557,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9002133894","studentName": "CHRISTOPHER SMITH"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-01-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17556,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9008561625","studentName": "JENNIFER MARTIN"},{"age": "12","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "08-31-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17555,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "257640","studentName": "SHARMILA BURGESS"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-01-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17554,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9010079819","studentName": "KIM HAIDER"},{"age": "0","category": "Informal Complaint","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-20-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 50004,"issueType": "Enrollment","lastUpdateOn": "09-24-2007","status": "Open","studentIRN": "9010105262","studentName": "ROBERT UZZEL"},{"age": "0","category": "N\/A","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-20-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 50003,"issueType": "Enrollment","lastUpdateOn": "09-24-2007","status": "New","studentIRN": "400123150","studentName": "NICOLE SMITH"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-20-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 50002,"issueType": "Academic","lastUpdateOn": "09-24-2007","status": "Open","studentIRN": "400123150","studentName": "NICOLE SMITH"},{"age": "7","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-09-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 50001,"issueType": "Enrollment","lastUpdateOn": "09-20-2007","status": "Closed","studentIRN": "400123150","studentName": "NICOLE SMITH"},{"age": "0","category": "Formal Grievance-Campus","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-07-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17651,"issueType": "Academic","lastUpdateOn": "09-20-2007","status": "Open","studentIRN": "9010105262","studentName": "Robert Uzzel"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-09-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17650,"issueType": "Academic","lastUpdateOn": "09-20-2007","status": "Open","studentIRN": "9012386428","studentName": "Nagy Guindy"},{"age": "7","category": "Informal Complaint","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-09-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17649,"issueType": "Operational","lastUpdateOn": "09-20-2007","status": "Open","studentIRN": "9014214987","studentName": "ROBERT MORGAN SR"},{"age": "7","category": "Formal Grievance-Campus","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-09-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17648,"issueType": "Operational","lastUpdateOn": "09-20-2007","status": "Open","studentIRN": "9013582221","studentName": "TRACEY DUPREE"},{"age": "7","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-09-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17647,"issueType": "Operational","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9006833744","studentName": "MARY MOSLEY"},{"age": "7","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-09-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17646,"issueType": "Operational","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9011937215","studentName": "Regina Dee Jessup"},{"age": "7","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-09-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17645,"issueType": "Operational","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9011651785","studentName": "Yolanda Vialet"},{"age": "7","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-08-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17642,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "206719","studentName": "DEBORAH FRYSINGER"},{"age": "7","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-08-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17641,"issueType": "Enrollment","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9020132527","studentName": "DAVID PITHER-PATTERSON"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-08-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17640,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9001198624","studentName": "BARBI DONALDSON"},{"age": "7","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-08-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17639,"issueType": "Academic","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "503397679","studentName": "Mechelle Sweet-Preston"},{"age": "7","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-08-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17637,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9018719242","studentName": "MELANIE CHRISTMAS"},{"age": "7","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-08-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17636,"issueType": "Operational","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9016735221","studentName": "JAMES STEVER"},{"age": "7","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-08-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17635,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9004367519","studentName": "LATASHA WILLIAMS"},{"age": "7","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-08-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17634,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9018358505","studentName": "CHRISTINA MALDONADO"},{"age": "7","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-08-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17633,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9013039331","studentName": "LESLIE WILLIAMS"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-08-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17632,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9008765472","studentName": "JOAN WALKER"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-08-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17631,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9013235073","studentName": "Jonathan Cason"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-08-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17630,"issueType": "Academic","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9015023671","studentName": "SUSAN LAWRENCE"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-07-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17628,"issueType": "Operational","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9019031927","studentName": "Patricia Bagley"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-04-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17627,"issueType": "Operational","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9008890031","studentName": "Latosha Haney"},{"age": "0","category": "Formal Grievance-Campus","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17626,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9000320924","studentName": "Melanie Smith"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-04-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17625,"issueType": "Academic","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9017351267","studentName": "MICHELLE BOTICH"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-04-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17624,"issueType": "Academic","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9002910668","studentName": "Stacie Johnson"},{"age": "11","category": "Informal Complaint","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17623,"issueType": "Academic","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9012263900","studentName": "CLAUDIA DOBSON-LARGIE"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-04-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17622,"issueType": "Academic","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9007364342","studentName": "Jill Elliston"},{"age": "11","category": "Formal Grievance-Campus","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-04-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17619,"issueType": "Academic","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "3104683686","studentName": "Wanda Bailey"},{"age": "0","category": "Formal Grievance-Campus","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-04-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17618,"issueType": "Operational","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9009434589","studentName": "Coretta Hanson"},{"age": "11","category": "Informal Complaint","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-04-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17617,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9000168065","studentName": "GRAY KERRY"},{"age": "0","category": "Formal Grievance-Campus","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-04-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17616,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "3103993747","studentName": "KATELYN ESTES"},{"age": "11","category": "Formal Grievance-Campus","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-04-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17615,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9012243200","studentName": "Tamala Black"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17614,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9001538008","studentName": "BRENDA HROBSKY"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17613,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9001207658","studentName": "ELLEN DARCO"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17612,"issueType": "Academic","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9016098497","studentName": "TIMOTHY WHORTON"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17611,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9007248479","studentName": "TARA JACOBIS"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17609,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9009320313","studentName": "DESHAUN INGERSOLL"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17608,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9002803598","studentName": "KIM HORTON"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17607,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9017867815","studentName": "LOUISE CHEN"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17606,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9014142707","studentName": "Kenton Cudd"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17605,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9018845980","studentName": "KAMILA TERPSTRA"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17604,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9005477582","studentName": "DEBRA NICKELSON"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17603,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9003157128","studentName": "Sheila Walters"},{"age": "11","category": "Formal Grievance-Campus","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17602,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9002116632","studentName": "LAURYELL COOK"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17601,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9008101568","studentName": "Agatha Testa"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17600,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9009302436","studentName": "Elvira (Coles) Cherovetz"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17599,"issueType": "Operational","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9018207868","studentName": "LISA GLOER"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17598,"issueType": "Financial","lastUpdateOn": "09-20-2007","status": "Open","studentIRN": "9017025735","studentName": "Martha West"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17597,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9018180917","studentName": "Julian Cipriano"},{"age": "11","category": "Informal Complaint","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17596,"issueType": "Financial","lastUpdateOn": "09-20-2007","status": "Open","studentIRN": "500837351","studentName": "Renee Maseuli"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17595,"issueType": "Financial","lastUpdateOn": "09-20-2007","status": "Open","studentIRN": "9014028687","studentName": "CANDICE SMALLING"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17594,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9003575436","studentName": "BONITA KELLY"},{"age": "11","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17593,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9002896338","studentName": "CLYDE HARDEN JR."},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17592,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9018235713","studentName": "DENISE JARAMILLO"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17591,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "4501976058","studentName": "DAVID BAILEY"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17590,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9011036195","studentName": "RAQUEL LISZT"},{"age": "11","category": "Formal Grievance-Campus","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17589,"issueType": "Operational","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9006891899","studentName": "Doris Murray"},{"age": "11","category": "Informal Complaint","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-03-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17588,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Open","studentIRN": "9002420039","studentName": "Roger Sexton"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17587,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9002850348","studentName": "JON GOLDSBERRY"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-02-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 17586,"issueType": "Financial","lastUpdateOn": "09-19-2007","status": "Reviewed","studentIRN": "9008305832","studentName": "STEVEN TOLBERT"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-24-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 50007,"issueType": "Academic","lastUpdateOn": "09-24-2007","status": "Open","studentIRN": "9010105262","studentName": "ROBERT UZZEL"},{"age": "0","category": "N\/A","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-24-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 50006,"issueType": "Academic","lastUpdateOn": "09-24-2007","status": "New","studentIRN": "9011651785","studentName": "YOLANDA VIALET"},{"age": "0","category": "Formal Grievance-Corporate","class": "com.apollo.gms.temp.TempIssueList","createdOn": "09-20-2007","flag": '<IMG src="http://uoponl1t30tc1.apollogrp.edu//images//otherCampus.png" \="" />',"issueId": 50005,"issueType": "Enrollment","lastUpdateOn": "09-24-2007","status": "Open","studentIRN": "400123150","studentName": "NICOLE SMITH"}]</DIV>
</body>
</html>
And I have my java script as follows.



var ds; //hold our data
var grid; //component
var columnModel; // definition of the columns
var GridUI = function() {


function setupDataSource() {
var gridData=Ext.get('jsonObj').dom.innerHTML;
alert(gridData);
ds = new Ext.data.Store({
proxy: new Ext.data.MemoryProxy(gridData),
reader: new Ext.data.JsonReader(
{id: 'issueId'},
[
{name: 'age'},
{name: 'issueId'},
{name: 'status'},
{name: 'studentName'},
{name: 'createdOn'}
]
)
}
);
ds.load();
}


function getColumnModel() {
if(!columnModel) {
columnModel = new Ext.grid.ColumnModel(
[
{
header: 'Issue ID',
width: 250,
sortable: true,
dataIndex: 'issueId'
},

{
header: 'Age',
width:100,
sortable: true,
dataIndex: 'age'
},
{
header: 'Status',
width:100,
sortable:true,
dataIndex: 'status'
},
{
header: 'Student Name',
width:100,
sortable: true,
dataIndex: 'studentName'
},
{
header: 'Created On',
width:100,
sortable: true,
dataIndex: 'createdOn',type:'date', dateFormat:'m-d-Y'
}
]
);
}
return columnModel;
}

function buildGrid() {
grid = new Ext.grid.Grid(
'mygrid',
{
ds: ds,
cm: getColumnModel(),
autoSizeColumns: true
}
);

grid.on("rowclick", function(grid) {
alert(grid.getSelectionModel().getSelected().data.issueId);
});
grid.render();
}

return {
init : function() {
setupDataSource();
buildGrid();
},

getDataSource: function() {
return ds;
}
}
}();

Ext.onReady(GridUI.init, GridUI, true);
When I am directly assigning the JSON data inside the above div tag to 'gridData' variable then I can see grid working fine . But when I try to assign it in the above way then firefox is not responsing and IE is just displaying the headers, any idea why it is happening so?

Regards,
Giri

BernardChhun
25 Sep 2007, 12:30 PM
you need to eval() the innerHTML as it is a normal string when you extract it from the DOM:


function setupDataSource() {
var gridData= eval("(" + Ext.get('jsonObj').dom.innerHTML + ")");
alert(gridData);
ds = new Ext.data.Store({
proxy: new Ext.data.MemoryProxy(gridData),
reader: new Ext.data.JsonReader(
{id: 'issueId'},
[
{name: 'age'},
{name: 'issueId'},
{name: 'status'},
{name: 'studentName'},
{name: 'createdOn'}
]
)
}
);
ds.load();
}

giri_sri_d
25 Sep 2007, 1:24 PM
Hi,

Thanks for the response and it Worked ...=D>

Regards,
Giri.

giri_sri_d
25 Sep 2007, 1:49 PM
Hi,

Looked at the doc and found that

var gridData=Ext.util.JSON.decode(Ext.get('jsonObj').dom.innerHTML);

works...

Regards,
Giri.