SPFx Field Customizer - Display totals for calculated columns?

Deleted
Not applicable

Hello,
since I found no way to employ custom column formatting with JSON, I wanted to ask if the following is possible with field customizers before I dove deeper into this.

 

Can a solution be created that displays the sum of a column like this?

Example

 

I've not found any solution or code that would work in modern libraries, only in the old UX.

 

Reference 1

Reference 2

 

Thanks for your answers.

3 Replies

Can you try  reference1 cewp script to spfx using below and see if it helps.

http://www.markrackley.net/2016/12/11/converting-your-cewp-customizations-to-the-sharepoint-framewor...

Thanks for the link. This would be a good place to start if I already had an existing solution in place. Unfortunately, this is not the case. I would like to know if it's possible to create a solution that displays the sum of a calculated column.

Custom column formatting with JSON is only able to target the list's cells itself but not the column heading. Field Customizer solutions sound like they would also only target the list cells.

I believe that command sets extensions are not suitable for this, not sure about application customizer extensions.

Anybody any further ideas?

Thanks.

@DeletedAre there any new developments?

 

Manipulating the DOM elements and insert it manually seems like a quite dirty idea.