日期:2014-05-19  浏览次数:20785 次

Struts2整合EasyUI datagrid读取数据问题
小弟刚学EasyUI,遇到不少问题,望各位指点一下,直接贴代码
JS部分代码:
$(function(){     
                $('#test').datagrid({  
                     title:'My Title',
                     iconCls:'icon-save',
                     striped: true,  
                     url:'FuncAction.action', 
                    sortName: 'parentID',  
                    sortOrder: 'desc',  
                    frozenColumns:[[  
                    ]],  
                    columns:[[                           
                        {field:'nodeID',title:'nodeID',width:120,sortable:true},  
                        {field:'parentID',title:'parentID',width:120},  
                        {field:'isLeaf',title:'isLeaf',width:120},    
                          
                    ]],  
                    pagination:true,
                    singleSelect:true,  
                    toolbar:[{  
                        text:'Add',  
                        iconCls:'icon-add',  
                        handler:function(){  
                            alert('add');  
     &n