开发者

jqGrid Json,decompression

开发者 https://www.devze.com 2023-01-22 03:06 出处:网络
Use jqGrid, how to load the local json 开发者_C百科request directly data without url, consult ace,

Use jqGrid, how to load the local json 开发者_C百科request directly data without url, consult ace,

JqGrid whether uncompressed version of the source


I am not sure what do you mean under "decompression" or "uncompressed". If you want use not minimized version of jqGrid you should just include another JavaScript files.

If the data are a string in JSON format you should create the grid using the parameter datastr and the datatype:'jsonstring' (see documentation for more information). If the data are not JSON but an object instead you can use data parameter and datatype:'local' or methods like setRowData. Take in the consideration that the usage of localReader can be required (see Array Data in the documentation).

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号