简体   繁体   English

如何保留 Jqgrid 中的值

[英]How to retain values in Jqgrid

I have drop down lists in Jqgrid, when I select a certain value in the drop down and click on some other row the grid show the default value again and not the selected value.我在 Jqgrid 中有下拉列表,当我 select 下拉列表中的某个值并单击其他行时,网格再次显示默认值而不是选定值。

You need to modify the JSON object of data then only it will save the value.What happens is it actually reverts back to previous value so after you modify the JSON and drop down then only it will persist您需要修改 JSON object 的数据,然后它才会保存该值。发生的情况是它实际上恢复到以前的值,所以在您修改 JSON 之后,它只会持续下降并下降

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM