Just wondering if there is a way in which I could modify the XSL templates to render the list view that includes a custom field type to customize the row of totals in the view. Recently, I created such a simple custom field type that inherits from SPTextField , I added it to the list, changed the view of the list and added it to the "Total" section, but the number of totals for this field seems to be displayed along with the rest of the rows in the table. This is the section from the fldtypes_CustomFieldType.xsl file that controls the rendering of this field:
<xsl:template match="FieldRef[@FieldType = 'CustomFieldType']" mode="Text_body"> <xsl:param name="thisNode" select="." /> <span style="background-color:lightgreen;font-weight:bold"> test <xsl:value-of select="$thisNode/@*[name()=current()/@Name]" /> </span> </xsl:template >
Here is what the column looks like in the list display: 
I look forward to your feedback. Thanks!
[EDIT] I described this issue in a post on my own blog with more details and a slightly different perspective: http://beamusupscotty.wordpress.com/2012/11/27/sharepoint-2013-custom-field-type-vs- aggregation-vs-xslt-list-view-vs-jslink / I also think there is a possible workaround, but time will tell. Please read the information before submitting responses. Thanks.
source share