Datatable get all items

Hi Team,

How can i get all the items of datatable.

Currently i am able to get specific item by using id as below.

$$(“datatable_id”).getItem(“1”);

$$(“datatable_id”).serialize() will return array of all items in the component

Also, you can use $$(“datatable_id”).data.each(iterator); to iterate through all items in the component.