In R/server.R I declare it like hot_cols(..., cols = ..., format = "0,000.00 $", language = "al-AL")
However numbers are displayed like $ 10,000.00 and I get Uncaught ReferenceError: numbro is not defined at numbro-al.js:1:1 in my browsers console. I don't know JavaScript unfortunately.
Hi,
great package! I'm building a data entry shiny app for an Albanian client. I'd like to format certain columns as Albanian currency.
The shiny app is a R package. I put a file into
inst/assets/js/numbro-al.js
with the following content:I'm adding this script via
htmltools::htmlDependency()
(in
R/utils.R
)eventually here (
R/ui.R
)In
R/server.R
I declare it likehot_cols(..., cols = ..., format = "0,000.00 $", language = "al-AL")
However numbers are displayed like
$ 10,000.00
and I getUncaught ReferenceError: numbro is not defined at numbro-al.js:1:1
in my browsers console. I don't know JavaScript unfortunately.Any hint?