How to remove attribute (for example, id) from the cell? ...

How to remove attribute (for example, id) from the cell?

You can’t fully remove attribute, but only set it to null or other empty value

grid.cell(i,j).setAttribute(“id”,null);