I am using the below code to get the data from the grid and pass it to the controller,
var data = JSON.stringify(dataModel.data);
$.ajax({url: url, data: data});
i am able to capture the data from the grid ,but when i am passing the data via the url and trying to retrieve it in my servlet i am only able to get the data of 1st row of the grid. but i have data in 10 rows