Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82615

defaultContent formatting

$
0
0

Is there a way to format this to make it Bold and currency where Total is a passed var?

{ data: null, defaultContent: + Total, orderable: false},

I can format it with php but I want to do it above in .js-> { data: null, defaultContent: '<b><?php echo '$'.number_format($Total,2); ?><b>', orderable: false },


Viewing all articles
Browse latest Browse all 82615

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>