Cascading Combobox in extjs

后端 未结 3 411
轮回少年
轮回少年 2021-01-16 03:51

I want to do cascading combobox in extjs. I have to comboboxes

Course combobox

{ 
    xtype : \'combobox\',  
    emptyText : \'         


        
3条回答
  •  既然无缘
    2021-01-16 04:31

    It looks like you want to clear the filter you already applied. To remove filters that have been applied there is a clearFilter() method available on the store. You can mix that into your code similar to this:

    comboModule.clearValue();  
    // new line to clear any filter applied to the store
    comboModule.getStore().clearFilter(true);  
    comboModule.getStore().filter('courseId',combo.getValue());  
    

提交回复
热议问题