• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Reading a jqGrid Delete Post

 
Ranch Hand
Posts: 1938
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.
 
Sheriff
Posts: 67269
170
Mac Mac OS X IntelliJ IDE jQuery Java
  • 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: 1938
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!