EasyUI Forum

General Category => General Discussion => Topic started by: balri771 on August 01, 2013, 08:02:31 PM



Title: a question about data of datagrid
Post by: balri771 on August 01, 2013, 08:02:31 PM
Hi , ;D
  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! ;


Title: Re: a question about data of datagrid
Post by: lloyd 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