I am trying to add a background color to a cell when it is being edited. Right now it is ether:
Stuck on white when I try to change the background color style
Not removing the old value when I apply a class to the input with background color in css
I think that going the first route seems maybe easier so I made this fiddle and was wondering if anyone has an idea on how I can get the background color of the cell to change while I am editing. Thanks!
Thank you for your response George. My problem with this technique is that I actually need the background color to change dynamically depending on the row and col index, so I need to either apply a different class or change the background color if the colIndex exists in a dynamic array. I updated this fiddle to show my technique