I would like to use CSR to customise a list display form.
I can't seem to find any examples where people have done anything more than alter how a particular field is rendered in a display/new/edit form. I would like to do things like alter the header, footer, the order in which the columns are displayed and the layout of the form overall itself.
Playing around I notice that when I change the "CSR Render Mode" for a display form web part to "Custom (CSRCustomLayout)" the Header and Footer events fire, but then the form seems to output the labels (with no data next to them) and then then dumps all the data after the labels.
Also the pre and post render methods also do not fire unless it is in Custom layout mode. Putting it back to Standard only runs the field level override.
What is the correct way to go abou this? What are those CSR Render Modes for?
Thanks,
Richard