DHTMLX Docs & Samples Explorer

parse (object, type)

Parse an object or a string and fill the DataStore by parsed items.

data.parse("<data> ... </data>");
//or
data.parse([[1,2,3],[4,5,6]],"jsarray");

Parameters:

  • object - a string or an object
    • jsarray - a string or an array
    • json - a string or an object
    • xml, html, csv - a string
  • type - the type of data
    • “xml”
    • “html”
    • “json”
    • “jsarray”
    • “csv”