Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Reading a jqGrid Delete Post  RSS feed

 
Steve Dyke
Ranch Hand
Posts: 1775
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to the jqGrid documentation:

delGridRow

What is posted to the server


When we are in delete mode the data that is posted to the server is object {} that contain:

the pair id:rowids where the rowids can be a single value a value string separated with comma in case of multiple selection


additionally we add a pair oper:del to indicate the delete mode


if the delData object is not empty we extend this data with the posted data


if the returned object from onclickSubmit event is not empty we extend the posted data with this object

But how do I read it at the Servlet? I don't even know if there is a parameter name.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66204
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using the browser's developer tools you can inspect the request to see exactly what is being passed either as parameters on the URL or in the response body.
 
Steve Dyke
Ranch Hand
Posts: 1775
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault wrote:Using the browser's developer tools you can inspect the request to see exactly what is being passed either as parameters on the URL or in the response body.


Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!