EasyUI Forum
April 27, 2024, 01:40:56 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: a question about data of datagrid  (Read 13553 times)
balri771
Newbie
*
Posts: 9


View Profile
« on: August 01, 2013, 08:02:31 PM »

Hi , Grin
  I get the data from datagrid ,the data types is Json.I want to transform Json string ,but the IE can't with the JSON.JSON.stringify ! I don't want to write a method.
  sombody in this kind of problem? Please show !
  thanks! ;
Logged
lloyd
Newbie
*
Posts: 29


View Profile Email
« Reply #1 on: August 22, 2013, 08:37:29 AM »

If I understand you correctly you what to retrieve data from a variable containing json formatted data.

// json data in result
var json = $.parseJSON(result);

// Node ID
json.ID
// Node name
json.NAME
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!