Home › Forums › Guriddo jqGrid JS › Help › Select created row
Hi,
when you add a row in jqGrid via the modal form,
is it possible to display your grid, with the created row selected (highlighted) after clicking your add button ?
Hello,
Yes it is possible. One possible solution – set reloadAfterSubmit to false.
After you create the new row – instruct the server to return the new created id
then you can use afterSubmit event
Ok it works.
But the problem is :
The added row appears first in the grid, so the grid is not sorted.
Imagine that i add a row, wich will be normally placed on the second page of my grid,position 12 for instance.
with your method it appears in the first page of my grid at the first position.
So i would like to know if after adding my row, if it is possible to have my grid showing the second page, and having
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS