Friday, 15 June 2012

JQuery table not interpreting the values , getting only one character -


The jazzary datagette is not understood as the meaning of JSNER values. I'm getting only one letter in the table. & lt; Table range = "1" cell area = "0" cellpadding = "0" id = "product" style = "clear: both;" & Gt; & Lt; Thead & gt; & Lt; TR & gt; & Lt; Th & gt; Product & lt; / Th & gt; & Lt; Th & gt; Details & lt; / Th & gt; & Lt; / TR & gt; & Lt; / Thead & gt; & Lt; Tbody & gt; & Lt; / Tbody & gt; & Lt; / Table & gt;

The actual data format is coming from the server:

  ["element software", "software distribution", "global environment", "software", "Software List"]   

jquery Datasx code:

  var oTable = $ ("# products"). True, "AAserting": [[4, "BACETE"]: True, "Desc"]], "iDisplayLength": 25, "Data Processing" is true ("Aadata": data, "B processing is true," bSort) "Allanews": {"Proportioning": "Processing", "Sactible": "No Record Found"}});   

Action class:

  JSONArray ja = New JSONArray (); Try {Iterator = this list =.} (This hasNext ()) {SearchResult part = (SearchResult) it.next (); ja.add (part.getlist1 ()); ja .add (part.getlist2 ()); findList.addAll (ja);}   

Returning search list that is an array list.

for How to interpret the data



No comments:

Post a Comment