The DataGrid is prone to errors. To sum up, you can avoid detours and avoid making further mistakes.
1. Two attributes: pagesize and pagelist. The pagesize must be defined in pagelist. Otherwise, an error is returned.
2. When re-load, the input parameter must be JSON, and the data in the previous queryparam will not be included
Function dosearch (OBJ, CLS, datagridid) {var DATA = $ (OBJ ). parent (). find ("fieldset "). serializearray (); var test = "{"; test + = data. map (function (OBJ) {return obj. name + ":" + "'" + obj. value + "'";}); test + = ", CLS:'" + CLS + "'"; test + = "}"; // convert to a JSON object, fucktest = eval ("(" + test + ")"); $ ("#" + datagridid ). dataGrid ('load', test );}Previously, I simply pieced together a string and found that the string sent by the request has become one character and one character.
3. The front-end level needs to be enhanced!