I'm working on Oracle Apex 22.1.3. I have a database with datas like bellow :
| Name | Month | Year | Day_1 | Day_2 |
|---|---|---|---|---|
| DUPONT Pierre | 09 | 2022 | {"VALUE": 7,70, "COLOR":"#dae727"} | ... |
| DURAND Jean | 09 | 2022 | {"VALUE": 8,70, "COLOR":"#dae122"} | ... |
I have created an application, with a classic report and several select list that allow the users to select Name, Month and Year.
And then the classic report was updated with the value for each day of the month, like table below :
(when Month selected = September and Year selected = 2022)
| Name | Thu 01 |
Fri 02 |
|---|---|---|
| DUPONT Pierre | 7,70 | ... |
| DURANT Jean | 8,70 | ... |
I would like to know if there is a way to set Background-color, stored in database, in cells containing values using Javascript ?
Is there a way to store alls datas in Javascript variable ?
For example:
const datas = apex.getAllDatas("TableName")
Thanks


