How to retieve data from a datagrid

Hi all!

This might be simple but I couldn’t find any information on the internet.

I have successfully created a datagrid and added columns to it using [COLOR=Black]addcolumn[/COLOR] column command. I have added also data to it using my_datagrid.additem command.

Now my question is. How can I retrieve the data in the datagrid? Please note that I am not talking about clicking on the datagrid and selecting a cell. I want to read ALL the contents in all the columns.