Is there any method I can get the full JSON data from jqGrid when datatype is local along with the column name?
In this format: [{"firstname": "Chris"},{"firstname": "Dave"}]
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use the
getRowDatamethod to return an array containing all of the grid data. For example:Here is the documentation for
getRowDatafrom the jqGrid wiki, which helps explain what is going on:Update
You might also be interested in the
dataparameter, which can be used to retrieve the data passed to the grid. From the jqGrid docs:For example:
Does that help?