Cause: The DataGrid renders the header data and the style before the request to the data, then the data obj = {} value = undefined index = 0 is rendered once, and the data value undefined in the absence of Formater String connection, the formatter when the annotated data in quotation marks for strings, followed by normal data rendering;
In short: is the Easyui DataGrid rendering when the empty data go through, in the normal data rendering;
Solution: Determine the URL of the picture in the column that requires the picture to be displayed ! = return the corresponding img when undefined otherwise return '
{field: ' Picture ', align: ' center ', title: ' Picture ', Formatter:function (value,obj,index) {if (value! = undefined) { Return ' '}else{return '}}},
jquery Easyui The DataGrid needs a picture when it is displayed. 404 View request Address to change page link +undefined