Sharepoint List Formatting: Reference first row within a group
Gagan Pradhan
5
Reputation points
I have a grouped SharePoint list I am applying custom column formatting to display a Gnatt Chart within the column. within the chart I only want the month names shows for the first row within a group. Having the month names being repeated for every record in the list seems too redundant. I was thinking of conditionally displaying the div if the row index is 0, but how do I get the row index of a row within a group?
{
"style"
"display"
How do I replace @rowIndex with @groupRowIndex? Is that even possible? Any alternative solutions or ideas?
Sign in to answer