How to remove Comma from the values using Card Widget?

Posted on by By admin, in Business Intelligence | 0

Removing the Comma from the numbers while using Card Widgetplease follow these simple steps:

Step 1: – First you need to select the metadata and create a report as per your need and select the numbers column which is having (,) comma values

How to remove Comma from the values using Card Widget

Step 2: – Now you have to apply the JS script as per given in snapshot:-

hi_container.set("postExecution",function(c){
var widgetText = $("#widget-value")[0].innerHTML
widgetText = widgetText.replace(/,/g, '');
console.log(widgetText);
$("#widget-value")[0].innerHTML = widgetText
});

How to remove Comma from the values using Card Widget

Thank You
Shrestha Shil
Helical IT Solutions

0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments