Home › Forums › Guriddo jqGrid JS › Help › setGridParam
Hello,
I am having difficulties setting grid params and reloading an existing jqGrid with custom url.
$(”#product”).setGridParam({
Something is wrong into the code. setGridParam is a part of the core grid and it should exists. Do you use iframe?
Regrds
Tony
yes this is very strange.. and no I am not using iframes
Just now I see where is the error – sorry
you should:
$(”#product”).jqGrid('setGridParam', { url: '/newurl', page: 1}).trigger(”reloadGrid”);
Regards
thanks. that worked
Hi.
I'm just gonna borrow this thread, since I'm having problems with setGridParam as well.
I have added a custom buttom, and whenever that button is clicked, it should call an url.
It works fine at this stage, but the problem occurs when I would like to pass the selected row to the url.
Is it possible to do this?
My code for now is:
jQuery(“#adminlist”).jqGrid().setGridParam({url : 'gridQueries/resetpassword.php'});
jQuery(“#adminlist”).trigger(“reloadGrid”);
Best regards
Kim
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS