DHTMLX Docs & Samples Explorer

Index
dhtmlxdataview
API Methods

## parse (object, type)

Required library edition:

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");