2013-02-17 09:53题主

树节点如何显示两个或两个以上字段?

2013-02-17 13:14#1
在DataProvider控件中,设置type为tree,把要显示的字段名称改为text就行。
如:select field1+field2 as "text", field3 as "iconCls"...,'__true' as "leaf",'__[]' as "children", more as "otherProp" from table
具体用法可参考文档 DataProvider。
2013-02-19 15:29#2
顶一下~

返回开发者社区