Loading xml without a file

Hi,

Is there such an option to load xml directly as a string without creating an xml and using grid.loadXml(“myXml.xml”)

I would want to use something like grid.loadXml("<?xml version… ");

Is there such an option ?

Thanks, Efrat

You may implement it with parse() method.
Here is the tutorial:
http://docs.dhtmlx.com/doku.php?id=dhtmlxgrid:api_method_dhtmlxgridobject_parse

Also check the working example:
http://www.dhtmlx.com/docs/products/dhtmlxGrid/samples/12_initialization_loading/09_init_grid_json.html