Question: I got this table that I made with data from a text file.
Every line from the text I split to a array and then put it in the table,
now I want to bind the table to a `datagrid.`
Okay, I can do this by `datagrid.itemssource = table.defuealView`
But I want to make it so that when I change data in the datagrid, I can press a button, an all the data from the datagrid is exported out in a data table or a array.

how do I do this? always binded around the xml file. anyone that can point me the right way?

Please help.

Answer: 
Okay so , i found out the problem, it seems all this problem was because of jquery.js getting loaded twice, once from child.jsp and again from another page. Hut!!!. 

That was horrible, took me forever to find that out.
If your conflicting issue not resolving even after putting `noConflict` script, replace all '$' symbol with 'jQuery' throughout your jquery code.