when the ID column format in the database is string,
and sorted using jqGrid, the sort by ID becomes the sorting mode of the following figure,
Baidu did not find a suitable solution for a while.
when the ID column format in the database is string,
and sorted using jqGrid, the sort by ID becomes the sorting mode of the following figure,
Baidu did not find a suitable solution for a while.
adding sorttype:'integer' sorting to colModel makes it normal
this is the string sorting problem. Use sort ((a, b) = > a-b)
to implicitly convert to numeric comparison to try sorting
Previous: JS how does a json object traverse the value of each?
Next: Cordova package vue project configuration gradle environment variable
Edit row drop-down box data name repeats only the first item for example, a: happy New year, b: Hello, c: happy New year when choosing a: happy New year the select value value will be a when selecting c: happy New year the select value value...