10
4

1 に答える 1

2

datatable パッケージの .js ファイル内の通貨記号の位置を変更できます。

DTWidget.formatCurrency 関数の行を編集します

 $(thiz.api().cell(row, col).node()).html(currency + markInterval(d, interval, mark));

単純に

 $(thiz.api().cell(row, col).node()).html(markInterval(d, interval, mark) + currency);

R ライブラリのディレクトリにある DT/htmlwidgets/datatables.js ファイル内。

€記号については、

formatCurrency(c('cur'), currency = "\U20AC", interval = 3, mark = ",", digits = 2)

それはあなたが試したもので、シンボルが表示されませんか?

于 2015-10-20T15:54:22.660 に答える