var dept_ds = new Ext.data.GroupingStore({
proxy : new Ext.data.HttpProxy({
url : 'findAlldept.action'
}),
reader : new Ext.data.JsonReader({
idProperty: 'children.id',
root : 'root',
totalProperty : 'totalProperty'
}, [{
name : 'childrenId',
mapping : 'children.id',
type : 'int'
}, {
name : 'name',
mapping : 'name',
type : 'string' }, {
name : 'childrenSn',
mapping : 'children.sn',
type : 'string'
}, {
name : 'childrenDescription',
mapping : 'children.description',
type : 'string'
}, {
name : 'childrenName',
mapping : 'children.name',
type : 'string'
}, {
name : 'groupField',
mapping : 'groupField',
convert : function(v) {
return '数据';
}
}]),
groupField : 'name' });
底层的bean
package com.erciso.beans;import java.util.Set;
/**
 * 
 * @author zudajun225
 * @hibernate.class table="t_organization"
 */
public class Organization {
/**
 * @hibernate.id
 *    generator-class="native"
 */
private int id;

/**
 * @hibernate.property
 */
private String name;
/**
 * @hibernate.property
 */
private String sn;
/**
 * @hibernate.property
 */
private String description;
/**
 * @hibernate.many-to-one
 *   column="pid"  not-found="ignore"
 *   class="com.oa.model.Organization"
 */
private Organization parent;
/**
 * @hibernate.set inverse="true" lazy="extra"
 * @hibernate.key column="pid"
 * @hibernate.one-to-many class="com.oa.model.Organization"
 */
private Set<Organization> children; public int getId() {
return id;
} public void setId(int id) {
this.id = id;
} public String getName() {
return name;
} public void setName(String name) {
this.name = name;
} public String getSn() {
return sn;
} public void setSn(String sn) {
this.sn = sn;
} public String getDescription() {
return description;
} public void setDescription(String description) {
this.description = description;
} public Organization getParent() {
return parent;
}

public void setParent(Organization parent) {
this.parent = parent;
} public Set<Organization> getChildren() {
return children;
} public void setChildren(Set<Organization> children) {
this.children = children;
}

}
我是想用  var summary = new Ext.ux.grid.GroupSummary();来显示数据,底层能读取出级联的数据,但在表格中不能显示,请问Extjs能不能实现读取Hibernate中的级联数据