datagrid控件展示JSON嵌套对像
{"total":2,"rows":["value":0,"department":{"depDesc":"技术部","depId":10,"depLevel":2,"depName":"产品与技术部","parentId":0,"path":"0.10.","version":null},"email":"admin@panguso.com","empId":5,"enabled":true,"familyName":"超级管理员","firstKeyColumnName":"empId"}]}
如上面JSON对像,我现在要在JQuery的datagrid控件,显示department对像下面的depDesc属性值,应该怎样写代码呢,通过field:'department.depDesc' 都显示不了,直接填写field:'department'显示出来的是[Object Object]