DHTMLX Docs & Samples Explorer

parse (object, type)

Required library edition: This method works with any edition of DHTMLX library

Required library file: dhtmlxdataview.js

Parse object or string and fill the dataview by parsed items.

  • object - string or object
    • jsarray - string or array
    • json - string or object
    • xml, html, csv - string
  • type - type of data
    • “xml”
    • “html”
    • “json”
    • “jsarray”
    • “csv”
	view.parse("<data> ... </data>");
	//or
	view.parse([[1,2,3],[4,5,6]],"jsarray");