Forum



18:29

14/04/2012

When I set MULTISELECT:TRUE, I can select some rows.
If I want obtain the selected rows, I can write:
$my_array=$("#jqgrd_id").getGridParam(?selarrrow');
which will return an array with the ID of the selected rows.
My problem is:
I want to save in the array others value, NOT the id's. For example, here:
http://www.secondpersonplural......0fb79d.htm
can I save in the array THE AMOUNT of the selected rows,
my_array=[600.00 , 200.00]..?? thanks
Have you tried $.jqGrid('getRowData', rowID)? That is supposed to return all of the values for any row by its ID. You could call it in a loop (once for each row that is selected) to retrieve the rest of the row data.
However, a problem I am currently struggling with happens when Inline Editing or Form Editing has been enabled — instead of getting back the values that you want, you get back strings of HTML for all of the inputs that the grid has built.
Most Users Ever Online: 715
Currently Online:
56 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66