Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Scott on Jul 24, 2008 10:50
open dhtmlx forum
userdata with json data -- grid

The ability to specify userdata with json data appears to not be working. I found this post (http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=2161&ssr=yes&s=userdata%20json) which seemed promising but it seems that the javascript code is not parsing the userdata. When I look through the source code, I see that function _process_xml_row:function(r, xml) appears to be parsing userdata but function _process_json_row:function(r, data) does not.

What am I missing?
Answer posted by Support on Jul 25, 2008 01:51
Problem confirmed and fixed, please use attached patch, with it next syntax will work

rows:[
    { id:1001,
      userdata:{
         data1:"value1",
         data2:"value2"
      },       
      data:[
          "100",

Attachments (1)