serializes data to an array of JSON objects
all | boolean | defines whether all data or only the filtered data are serialized |
array | serialized data as an array of JSON objects |
$$("datatable1").serialize();
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