ExtJs combobox使用中遇到的问题

    1. 对combobox调用showTriggerButton和setValue方法之前,需要combobox所在窗口调用过show方法

    2. store中的数据如果需要动态重新获取,可以通过给store.reload({url:url, params:{},callback: function(){}});

    3. 如果需要从数据库中读出某个数据,然后将该数据设定为combobox的value,同时希望显示store的text,那么一定要将setValue操作放在combobox的store的load的回调函数中。

posted @ 2014-09-04 23:32  nosmall  阅读(147)  评论(0编辑  收藏  举报