EasyUI detailview does not show.

The JS code is as follows:

$('#studentinfo').datagrid({
title:'Student information management',
iconCls:'icon-save',
width:ScreenWidth(0.97),
height:'auto',
nowrap: false,
striped: true,
collapsible:true,
url:'student/studentaction_query.action',
sortName: 'stu_ID',
sortOrder: 'asc',
remoteSort: false,
showFooter:true,
displayMsg:true,
idField:'stu_ID',
frozenColumns:[[
{field:'c',title:'Select all',checkbox:true}
]],
columns:[[
{field:'stu_ID',title:'ID',width:43,sortable:true,align:'center'},
{field:'stu_Name',title:'Full name',width:105,align:'center'},
{field:'stu_Age',title:'Age',width:105,sortable:true,align:'center'},
{field:'opt',title:'Operations Manager',width:ScreenWidth(1)-900,align:'center',
formatter:function(value,rec,rowIndex){
return "<span style='color:green;cursor:pointer;' onclick='openUpdatePasswordForm("+rowIndex+")'>Change the password of </span> & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; <span style='color:green; cursor:pointer; onclick='openUpdateForm ('"+ rowIndex+")'> editing</span>";
}
}
]],
view: detailview,
detailFormatter: function (index, row) {
return 'a';
},
loadMsg:'Loading data, please wait......',
pagination:true,
pageSize : 10,
pageList : [ 10, 15 ,20,25,30 ],
rownumbers:true,
toolbar:[{
id:'addbtn',
text:'Add to',
iconCls:'icon-add',
handler:function(){
openSaveForm();
}
},{
id:'delbtn',
text:'Delete',
iconCls:'icon-remove',
handler:function(){
del();
}
}]
});

Screenshot below:




In the JSP page has introduced
<script type="text/javascript" src="<%=basePath%>js/easyui/datagrid-detailview.js"></script>
The.


Beg master help have a look, whether it is a syntax error?

Started by Liz at November 12, 2016 - 11:25 AM



Ask everybody to do me a favor, depressed for a long time.

Posted by Liz at November 14, 2016 - 11:42 AM

The detailFormatter easyUI has this property? Why didn't I see on the website

Posted by Rebecca at November 26, 2016 - 11:45 AM

The easyUI DataGrid is not detailFormatter this property

Posted by Alexander at December 05, 2016 - 12:39 PM

Well detailFormatter this property

Look at the path you lead JS to is it right?

Posted by Alexander at December 09, 2016 - 1:04 PM

The JS path is all right, but when I use the Firebug test, not see how the implementation of datagrid-detailview.js records.
Can I have a look QQ:710801527, remote.

Posted by Liz at December 11, 2016 - 1:05 PM