serialize

serializes data to an array of JSON objects

array serialize( [boolean all] );
allbooleandefines whether all data or only the filtered data are serialized
arrayserialized data as an array of JSON objects

Example

$$("datatable1").serialize();

Details

By default, only the filtered data are serialized. To serialize all data, pass true as the second parameter:

$$("datatable1").filter(function(obj){
  return obj.title.indexOf("The") !== -1;
});
const allData = $$("datatable1").serialize(true);
Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript ui components library and page of list ui product.