serialize of ui.submenu, Methods Webix Docs

StartAPI Referenceui.submenuMethods

serializes data to an array of JSON objects

array serialize( [boolean all] );

all

booleandefines 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