Check documentation for the latest version of dhtmlxSuite parse DHTMLX Docs

parse

parses an object or a string and fills the list with the parsed items

void parse(string|object obj,string type);
objstring|objectan object or a string to parse
typestringtype of data

Example

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

Details

types of an object to parse:

  • jsarray - string or array
  • json - string or object
  • xml, html, csv - string

possible data types:

  • "xml"
  • "html"
  • "json"
  • "jsarray"
  • "csv"
Back to top