An error occurred while binding json data with escape characters to the EasyUI datagrid component. easyuijson
Recently, the datagrid on a page in the project encountered an inexplicable problem. First, the second and third pages of paging data cannot be displayed. After a day, the first page will be unavailable, if the default homepage does not appear, the subsequent page processing will fail, and the entire data will not be available. Finally, you can only enter the query conditions to display the query result set.
After tracking the ashx function in the background, there is data, and EasyUI is the latest version, as well as paging data in the database. Finally, use the sublime text tool to open the json data and you will see two marked red points, that is, the '\ 0' place in the string. In the database, clear the escape characters in the fields, and the data is displayed normally.
It turns out that the EasyUI DataGrid data cannot be properly displayed because the \ 0 escape character exists in the json data.