开发者

How to filter a combobox dropdown list without filtering the store? is it possible?

I have two ComboBoxe's that use the same store. I want to filter the second combo with the select triggerAction on the fi开发者_开发百科rst. If i filter the store of course it will be filtered for the first combo as well, and i don't want that so .. Is it possible to filter the dropdown list of an combobox without filtering the store? Thanks. If you can provide an example it would be great.


You can link the combo boxes this way... A selection in the first combobox is used as a parameter for the request in the second... once the parameter's value is set for the 2nd combobox's store, you can make an ajax call to your service to return the "filtered" data.

You'll need to use the store.reload() function to pull this off.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜