Posted 12 December 2022, 8:02 pm EST - Updated 12 December 2022, 8:07 pm EST
Hi
I was wondering if there is a way to change the displayed label for groupDescriptions on a collection view, it looks like it is currently displaying the supplied field name in sentence case but I would prefer to specify my own.
My code assigns the parameter “SectionDescription” to the groupDescriptions:
this.items = new CollectionView(items, {
groupDescriptions: ["SectionDescription"],
});
and when it renders front end it labels each section "Section Description: " followed by the value of the parameter.
Is there a way to change this so I can assign the text that comes before the parameter value?