Hello everyone,

I need to change groupHeaderTpl upon to the groupingField value. In my case I group through a boolean field.
How can I do this? I tried some variants but unable to achieve to my goal.
I'll be happy if someone can help me?
Thanks i advance.

Code:
groupHeaderTpl: '{name}=="true" ? Shared : Your own'
Code:
groupHeaderTpl: '[{name}=="true" ? Shared : Your own]'