首页 新闻 会员 周边 捐助

ext Js问题

0
悬赏园豆:5 [已关闭问题] 关闭于 2012-08-13 15:53

现在我做一个ext Combobox下拉框。我用store去填充,所有数据都返回正确。Combobox也能全部加载,但最后一个数据就是不显示出来。这个是返回的数据:

[{"PositionID":574,"PositionLevel":0,"Position":"促销员"},
{"PositionID":718,"PositionLevel":9,"Position"
:"配送商"},
{"PositionID":60,"PositionLevel":10,"Position":"经批业代"},
{"PositionID":581,"PositionLevel":10,"Position"
:"经销商"},
{"PositionID":711,"PositionLevel":10,"Position":"零售业代"},
{"PositionID":712,"PositionLevel":10
,"Position":"零售助代"},
{"PositionID":713,"PositionLevel":10,"Position":"高级经批"},
{"PositionID":575,"PositionLevel"
:20,"Position":"业务主管"},
{"PositionID":597,"PositionLevel":40,"Position":"所长"},
{"PositionID":705,"PositionLevel"
:40,"Position":"内勤"},
{"PositionID":704,"PositionLevel":50,"Position":"分部经理"},
{"PositionID":702,"PositionLevel"
:60,"Position":"销售管理部主管"},
{"PositionID":703,"PositionLevel":60,"Position":"企划助理"},
{"PositionID":701,"PositionLevel"
:70,"Position":"企划经理"},
{"PositionID":61,"PositionLevel":70,"Position":"销售管理部经理"},
{"PositionID":719,"PositionLevel"
:70,"Position":"营业部经理"},
{"PositionID":596,"PositionLevel":80,"Position":"大区区总"},
{"PositionID":700,"PositionLevel"
:80,"Position":"大区销售副总"},
{"PositionID":710,"PositionLevel":89,"Position":"总经理"},
{"PositionID":699,"PositionLevel"
:90,"Position":"华丰管理员"},
{"PositionID":62,"PositionLevel":100,"Position":"客户管理员"}]
这个是效果图
其中的数据都在里面。但就是不显示最后一条数据,也就是不显示"客户管理员"
qqmamiao的主页 qqmamiao | 初学一级 | 园豆:146
提问于:2012-07-18 16:31
< >
分享
所有回答(1)
0

1,用firebug查看一下生产的html标签,看是没有加载进去(根本就没有生成标签),还是没有显示出来(生成标签,但是没有显示)

2,如果你去掉最后一个,那新的最后一个是否也显示不出来呢?

Angkor--:-- | 园豆:1086 (小虾三级) | 2012-07-18 16:48

生成了标签,没有显示,去掉最后一个。那倒数第二个就是也不显示了。除非不出现下拉条

支持(0) 反对(0) qqmamiao | 园豆:146 (初学一级) | 2012-07-18 16:51

@qqmamiao: 如果你这个ext Combobox下拉框 只有一个item,那这仅有的一个显示吗?

我感觉是你的样式限制了下拉的显示!!

支持(0) 反对(0) Angkor--:-- | 园豆:1086 (小虾三级) | 2012-07-18 16:58
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册