I have a customeditor and custom Renderer for a column. What I’m trying to do is, when a user selects the cell, dynamically change the display…and then, when they leave the cell, display as normal.
In the customeditor, I’;m assuming the prepare code is the correct place to do this. Below, When I use this as a test, the cell changes to “hello” when I select it, however, when I click off to another cell, it remains. How do I get the display to use the customrenderer logic to display the original value?
prepare(row, col, prop, td, originalValue, cellProperties) {
super.prepare(row, col, prop, td, originalValue, cellProperties);
td.innerHTML=‘hello’