title: Dojo dgrid: Filter data from store with diffrent fields when I click on filter button
body: <p>I am using 'dgrid/Grid' and dstore/RequestMemory for creating grid and storing data. Now I want to filter data according to values in the fields(see img). I am not sure how to filter data when using simple Dgrid and dstore.</p>
  
  <pre><code> var structure = [{
              label : "Value Date",
              field : "valueDate"
          }, {
              id: "currencyCol",
              label : "Currency",
              field : "currency"
          }, {
              label : "Nostro",
              field : "nostroAgent"
          }];
  
          var store= new RequestMemory({
              target: 'getReportData',
              idProperty: "cashflowId",
              headers: structure
          });
          // Create an instance of OnDemandGrid referencing the store
          var grid = new(declare([Grid, Pagination, Selection]))({
              collection: store,
              columns: structure,
              loadingMessage: 'Loading data...',
              noDataMessage: 'No results found.',
              minRowsPerPage: 50,
          }, 'grid');
          grid.startup(); 
  
        on(document.getElementById("filter"), "click", function(event) {
              event.preventDefault();
              grid.set('collection', store.filter({                   
                  **currencyCol: "AED"**
                        .
                        .
                        .
              }));
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/X2yTe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/X2yTe.png" alt="Dgrid Page"></a>
  Any help would be appreciated or suggest if I use some diffrent store or grid.</p>