views:

28

answers:

1

I have a grid with multiselect option true...so when I multiselected the rows and click on the button say "Release" it should send those rows to server ...Can any one point me towards right direction?

A: 

Inside of onSelectRow event handler (see http://www.trirand.com/jqgridwiki/doku.php?id=wiki:events#list_of_events) you receive the array of ids of selected rows as a parameter. With respect of getRowData(ids[i]) (see http://www.trirand.com/jqgridwiki/doku.php?id=wiki:methods) you can get full data from the i-th selected row. Then you can construct the from all the data a data which you want to send to server and use jQuery.ajax to send the data to the server.

Oleg