I was revisiting this topic to figure out a better way to add a header and I think I’ve had a eureka moment!
It seems fairly easy to implement too. All you have to do is create two groups in the repeating group, one above the other. The top group I named “Header” and added my header fields in there. The bottom group I named “Content” and this contains the normal fields you would put in the repeating group. I make the “Header” group invisible on page load and collapse height when hidden.
I have one condition on the “Header” to show when the Current cell’s index is 1 – one means it’s the first row.
This is what it looks like in the editor. The grey portion is the header. Right now it shows in every row, but the condition on the group will hide it for every row except the 1st.
For the repeating group, I keep the data source empty on the object and load it through workflow. I initially load it on page load, and then I’ve started to setup additional workflow to sort by the different columns.
Here’s the end result.
If you have any ways to help improve or comments on why this is a bad idea I’m all ears.