jquery - Subgrid Caching or Stopping Subgrid data from being removed (jqGrid) -
There is no way to strengthen jqGrid, when its line is toggled, do not remove subgreed data Go? My current process of loading the datagrid is as follows:
1) Set up the main grid, sub-program with an ID that I can use later
2) Load the data into the main grid at the local level through JSO
3) Locally add the sub-grid via JSN
Due to the fact that I Loading a sub-grid at the local level instead of the URL when the user Toggles the message) It does not have any data in the grid and I want to display the original data which was provided to the sub-grid.
I know that this is a strange way of loading the data, but there is a reason
What I'm currently doing with JackGrid, essentially on a web page An information is showing information of tons of tons of information (essentially this is a report). This web page should load all your data automatically and I have many examples where I need to provide subgroup functionality. I have come to know how to manually click on the occurrence of a click so that subgad can be displayed, but then, if the user clicks on the subgrid it disappears and it does not return Used to be.
If you have any suggestions for this, please let me know.
In addition to this, if you think that all the data are officially displayed as well, please let me know also. So far, it is easy for me to get the Jakgid, but I am compelling it to do those things which it does not basically like, adding the total value to the foot line.
Thank you in advance for your help.
What do you want to do when there is a line, reloading sub-deed data by jqGrid To prevent it has expanded. For this, the control knob is in the sub-grid option property of Zakigrid.
When you initialize your jqGrid object, make sure that this property is set to false, as shown below:
< Pre> code> jQuery ("# gridId"). JqGrid ({// ... other properties ... subGrid: true, sub-grid options: {reloadOnExpand: false // to prevent jqGrid from erasing data subgrid.}, SubGridRowExpanded: subGridExpandCallback, // ... other properties. ..
In the same place I could get this code, was doing "View Source" on this page on this page which mentions this behavior. Demo page at the time of this posting. Here is:
Comments
Post a Comment