Skip to main content
Answer

Conditional label

  • November 22, 2022
  • 1 reply
  • 85 views

Sulea Ema
Vanguard
Forum|alt.badge.img+1

 Hi! I have put speciifc label for each group of columns as you can see below .I did this from subjects->compomontes>grid->group label .

I want this label to be automatically generated based on the current month as the data is now hard coded .It there any possibility to do that with a layout or maybe other procedure?

Best answer by Mark Jongeling

Hi Sulea, 

No, this isn't doable inside a layout or default procedure as Grid group headers cannot be mutated/changed this way. Closest thing I can think of is having dynamic model code that updates the labels based on the current month, but this does require you to sync every month at least to update the labels.

This topic has been closed for replies.

1 reply

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • Answer
  • November 24, 2022

Hi Sulea, 

No, this isn't doable inside a layout or default procedure as Grid group headers cannot be mutated/changed this way. Closest thing I can think of is having dynamic model code that updates the labels based on the current month, but this does require you to sync every month at least to update the labels.