hello again –
I am trying to read the html that defines a specific cell so i can assign an ID attribute to it.
Using a filter
seems to yield inaccurate results for me:
'template' :
( (thisRow) => thisRow.cell.element.firstChild.setAttribute('id', myNewCellId) ;
it works for the second time through, but the first time the row appears to be off by one.
is there some way to access a specific cell to assign an ID value? i am looking for something very similar to this:
document.querySelector('smart-grid').getCellValue(0,'firstName' ) ;
but something to return the actual HTML and not just the value.
in other words: https://www.htmlelements.com/forums/topic/using-selectcells-method/
for example: how would i add an ID attribute to the second row of the firstName column?
thank you very much.