In the below code, I am trying to color code based on the 6th column. if it is same, then repeat the same color, else different color. But, if I clicked on the 2nd column, which is editable, the color code is messes up.
#pagination { margin-top: 20px; display: flex; justify-content: center; }#pagination button {
background-color: #f2f2f2;
color: black;
border: none;
padding: 10px 16px;
font-size: 16px;
cursor: pointer;
margin: 0 4px;
transition: background-color 0.3s ease;
}
#pagination button:hover {
background-color: #ddd;
}
#pagination button.active {
background-color: #4CAF50;
color: white;
}
#pagination button.disabled {
pointer-events: none;
opacity: 0.6;
cursor: default;
}
.handsontable .yellow-background {
background-color: lightyellow;
}
.handsontable .white-background {
background-color: red;
}
.handsontable .myClass {
color: red !important;
}