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 first parameter:

$$("datatable1").filter(function(obj){
  return obj.title.indexOf("The") !== -1;
});
const allData = $$("datatable1").serialize(true);
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix html5 library and page of javascript datatables product.