Hi,
Is it possible to change the colour used for cells that can be updated in a view? If so, how?
Thanks.
Hi,
Is it possible to change the colour used for cells that can be updated in a view? If so, how?
Thanks.
Yes possible. Let me guess, you would like data entry WHITE and consolidated cells GREY?
@tganz can you please provide a snippet for configuring the data entry class?
Hi @R.B
you can add the following code on the âcustom-style.scssâ file :
// handsontable overwrite input and read cells syle
// htDimmed class for read-only cells
.handsontable .htDimmed {
background-color: $color-pf-black-200 !important;
}
// input class for input cells
.handsontable .input {
background-color: white !important;
}
Thanks. I had to make the change in Visual Studio Code with Gulp running for the change to be picked up. I then had to search for and copy the updated files to the server.
Hi
Is the code/fix above still relevant for the Aug2020 release? Iâm trying to remove the default cell formatting for a view, in order to use custom formatting based on attribute.
The default being grey for input and white for rule-derived will confuse users.
Results of adding the custom column formatting seems to have inconsistent results:
Thanks in advance for help.
Figured out that colClass attribute does not work on measure dim.
we normally use âyellowâ for input in our project, which is consistant with the previous TM1Web approach. here is the CSS need to be added (below). basically you can change the INPUT cell to any color you like.
/* Handsontable - Input Cell Color */
.handsontable td.input {background-color: #FFFFD0 !important;}
.handsontable.zebra tr:nth-child(even) td.zebra.input {background-color: #FFFFA0 !important;}
.handsontable.zebra tr:nth-child(odd) td.zebra.input {background-color: #FFFFD0 !important;}