title: load data for each fieldset item Extjs
body: <p>I am trying to load data dynamically in a fieldset.</p>
  
  <p>So I have a fieldset in which I dynamically add items, in my example I have two comboboxes. I want to fill those comboboxes with data coming from a store, knowing that each combobox will have different data according to its ID.</p>
  
  <p>Here's what I've tried to do : </p>
  
  <pre><code>     var targetFieldset = targetView.down('fieldset[id=myfieldset]');
       targetFieldset .items.each(function (item) {
                                          myStore.getProxy().url ='combo_items.php?id_combo=' + item.id;
                                          myStore.autoSync = true;
                                          myStore.load({
                                           params : {
                                                          id_combo: item.id
                                                      }         
                                                      })                                      
  
                                      });
  </code></pre>
  
  <p>How can I do this please ? Any help would be appreciated.</p>
  
  <p><strong>EDIT</strong> : </p>
  
  <p>I have tried this as well, but it always binds the values corresponding to the last item id to all the comboboxes.</p>
  
  <pre><code> targetFieldset.items.each(function (item) {
                                  myStore.clearFilter(true);
                                  myStore.filter('id_combo', item.id);
                                  alert(item.id);
                                  item.bindStore(myStore);
                                     myStore.loadData([], false);
                                      });
  </code></pre>