Posted 28 August 2020, 11:25 am EST
Thank you. Here is the requirement. I have an icon column, for instance delete icon, in one of the grids on the page. The icons are inserted during the initial grid rendering inside the itemFormatter by assigning to cell’s innerHtml, and they are initially all disabled. These icons should become enabled without the whole page post back on an user event, such as user click on an edit button of the whole page. At this time, I believe that the grid has already been rendered and itemFormatter will not be called again (correct me if was wrong here) . I need to be able to change the cell’s innerHtml to make these icons enabled.
I tried what you suggested above:
```
var rect = flexGrid.cells.getCellBoundingRect(row, col);
var elem = document.elementFromPoint(rect.left, rect.top);
But the elem on the second line was returned "undefined"
All I need is to be able to change the innerHtml of one of the cells in a column dynamically after the grid and its data has already been rendered. Is this possible?
Another related question: Is there any event triggers the grid itemsFormatter to run?
Appreciate any help on this.