Documentation

parse

loads data to the component from an inline data source

void parse(string| object data,string type);

Parameters

datastring| objectthe data to add
typestringthe data type: 'json' (default), 'xml', 'csv', 'jsarray'

See also

Details

If you want to parse data in addition to the existing dataset, specify position of parsing, namely the index from which you insert new data:

$$("datatable").parse({
   pos: $$("datatable").count(), //number of records will be right the last index +1
   data:dataset
});
Back to top