AnsweredAssumed Answered

Display Color Issue in CA Rally Grid

Question asked by hemant.s.govekar on Apr 18, 2018
Latest reply on Apr 18, 2018 by Sagi_Gabay

Can anybody help me get Milestone and Displaycolor work in My grid filter? I am able to get Milestone and DisplayColor in filter box but they are not working. The filter is not applied to grid

Thanks HSG

 

var whiteListFields = ['Milestones', 'Tags', 'DisplayColor'];
this.add({
   xtype: 'rallygridboard',
   context: context,
   modelNames: modelNames,
   toggleState: 'board',
   stateful: false,
   plugins: [{
      ptype: 'rallygridboardinlinefiltercontrol',
      inlineFilterButtonConfig: {
         stateful: true,
         stateId: context.getScopedStateId('filters'),
         modelNames: modelNames,
         inlineFilterPanelConfig: {
            quickFilterPanelConfig: {
               defaultFields: ['ArtifactSearch'],
               addQuickFilterConfig: {
                  whiteListFields: whiteListFields
               }
            },
            advancedFilterPanelConfig: {
               advancedFilterRowsConfig: {
                  propertyFieldConfig: {
                     whiteListFields: whiteListFields
                  }
               }
            }
         }
      }
   },
   {
      ptype: 'rallygridboardfieldpicker',
      headerPosition: 'left',
      modelNames: modelNames,
      stateful: true,
      stateId: context.getScopedStateId('columns-example')
   },
   {
      ptype: 'rallygridboardactionsmenu',
      menuItems: [{
         text: 'Print...',
         handler: function () {
            this.down('rallygridboard').getGridOrBoard().openPrintPage({ title: 'Program Board' });
         },
         scope: this
      }],
      buttonConfig: {
         iconCls: 'icon-export'
      }
   }],
   cardBoardConfig: {
      plugins: [{
         ptype: 'rallyfixedheadercardboard'
      },
      {
         ptype: 'rallycardboardprinting'
      },
      columns: columns,
      attribute: 'Iteration',
      readOnly: true,
      rowConfig: {
         field: 'Project'
      }]
   },
   storeConfig: {
      fetch: ['Iteration', 'Name', 'StartDate', 'EndDate']
   }
});

Outcomes