cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
Question: I would like to change the name of the subtotal titles.
Solution: You can use the following Javascript on the widget level.
var columns = ['0', '1']; //This is an array you can choose a specific column

widget.on('ready', function(w, args) {
for(var x = 0; x<columns.length; x++)
{
var tags = $('td.p-dim-member[fidx=' + columns[x] + ']', element);
for(var i=0; i<tags.length; i++) {
$('span', tags[i]).text($(tags[i]).text().substring(2)); //this line of code removes a character
}
}
});
widget.on('ready', function(w, args) {
for(var x = 0; x<columns.length; x++)
{
var tags = $('td.p-total-row-head[fidx=' + columns[x] + ']', element);
for(var i=0; i<tags.length; i++) {
$('span', tags[i]).text($(tags[i]).text().substring(2)); //this line of code removes a character
}
}
});
Rate this article:
Version history
Last update:
‎03-02-2023 09:25 AM
Updated by:
Contributors