1

I do not touch the grouping in my CSR template at all

On Page load the View grouping looks like the standard 2010 style

Before:

Action:

Setting a choice triggers an AJAXRefreshView

(so the exact same CSR code is executed for the whole View)

(Yes, I am doing Forms in a View (every List-Item is Survey answer)... kinda cool as SharePoint does most of the layout & logic work)

Yet, now the Group header looks like this..

What gives?

After:

Update #1

Sometimes.. late at night... you hate SharePoint

Force a redraw of the View on first OnPostRender 🙅

And don't tell the customer tomorrow 🙈

            _spYield(function(){
                iCSR.SP.refreshView(ctx,false);
            },100);

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.