Skip to main content
Solved

switch badge number based on screen

  • October 13, 2021
  • 1 reply
  • 57 views

Blommetje
Forum|alt.badge.img+13

Hi,

as far as I can see now, it’s not possible to have any control over the Badge value. Is this correct? 

For instance, i show total number of items. But when I turn on my prefilter ‘sold items’, I want the badge_value to show the total value that matches with the corresponding prefilter. 

Am I missing a thing, or is there a way to get this done? 

Best answer by Mark Jongeling

Hi,

The Badge can be controlled by the Badge procedure, but it cannot know which prefilter(s) is/are activated.

Could Grid Aggregation be of any help? That way it could (for example) count the amount of rows present in the list. Prefilters then do impact the number. You can put Grid aggregation in Subjects > [Table] > Components > Grid > Show aggregation then select type = 'Count’.

 

This topic has been closed for replies.

1 reply

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 4050 replies
  • Answer
  • October 13, 2021

Hi,

The Badge can be controlled by the Badge procedure, but it cannot know which prefilter(s) is/are activated.

Could Grid Aggregation be of any help? That way it could (for example) count the amount of rows present in the list. Prefilters then do impact the number. You can put Grid aggregation in Subjects > [Table] > Components > Grid > Show aggregation then select type = 'Count’.