Datatable get all items

Hi Team,

Here is my code: http://webix.com/snippet/cf92f16a

I need to get all the items of datatable on click on “Pay” button , how can i achieve it ?

table.serialize() will return all items in the datatable.

http://webix.com/snippet/885a7448

But using this serialize data i am not able to get the checkbox value i.e either true/false

It has all info, including the state of checkbox
http://webix.com/snippet/6575d6df

data[0].rank - returns value of first column ( rank - id of first column )

Thanks for help. serialize(); hepls to solve the situation with random generated IDs for each row.
It’s useful while working with checkboxes’ states.

And now any row can be easily accessed with ‘for ( )’ avoiding this ‘table.getItem(155357854)’