tags:

views:

20

answers:

2

Use jqGrid, how to load the local json request directly data without url, consult ace,

JqGrid whether uncompressed version of the source

A: 

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).

Oleg