Rally Software

  • 1.  How Do I Apply Filters to Rally Grid in JavaScript?

    Posted Sep 29, 2017 11:32 AM
      |   view attached

    I'm attaching App.js.

     

    Trying to create filters, but they are not used.  I added a filter function, and it never fires:

     

    Code Snippet of Rally Grid Configuration

    Please advise.

     

    Mike

    Attachment(s)

    zip
    App.js.zip   872 B 1 version


  • 2.  Re: How Do I Apply Filters to Rally Grid in JavaScript?
    Best Answer

    Posted Sep 29, 2017 06:04 PM

    miguelfuerte a few things: 

    The "filters" configuration needs to be part of the storeConfig.  In your code above it is part of the gridConfig.  

    storeConfig: {

          filters: [{

                property: "Iteration.Name",

                value: "Sprint 3"

          }]

    }

     

     

    Also, the filter for a property of "Iteration" will expect a reference to the Iteration reference.  For that particular implementation, you will want to use property:  "Iteration.Name".   There is good information about queries and using dot notation here:  General Query Examples | CA Agile Central Help   



  • 3.  Re: How Do I Apply Filters to Rally Grid in JavaScript?

    Posted Oct 01, 2017 10:12 PM

    Thank you, so much, sir.