ParamQuery grid support forum
General Category => Help for ParamQuery Grid (free version) => Topic started by: kavyasetty on December 13, 2013, 04:59:19 pm
-
hi,
I have 5 tabs , i have added pqgrid plugin to all this 5 tabs . i have a single save button. when i click on save button is it possible to save the data from all the grids to DB.
other question is suppose i edit some cell in the grid of 1st tab and move to 2nd tab will the data in 1st tab be lost ?
Kindly help on how to capture the data of all grid on click of save.Thanks
-
It's same procedure whether you want to send data of a single grid or 5 grids.
it's upto you to send them together or in separate AJAX requests.
Use JSON.stringify (dataModel.data) to serialize the JSON data of a grid into string.