Datagrid component- displaying selected values

Hello everyone,

We have a datagrid filled by fetching data from xml.
The datagrid has multipleselect option available.

Now when a user select multiple records, we would like the fetch the selected items and display them in another page. (the app is like a shopping cart, where the user selects a list of items and those items are displayed in the shopping cart)

We are able to get the count of selected items by using
var dataArray = new array();
dataArray = myDataGrid.selectedItems();

dataArray.length

I’m not aware what are the options available with myDataGrid.selectedItems().???
Need the correct option which will help us fetch the values of the selected items so we could display it in another page.

Any help will do.

thanks in advance.
Cheers.