How to add div id in an Abstractcell created using uiBinder and UiRenderer

93 Views Asked by At

Im creating a cellList and using UiBinder for the abstractCell. I want to add div ids to the elements of the cell. How can I achieve that.

1

There are 1 best solutions below

0
On

You can set the ids that you want in your UiBinder. They will be the same for all cells, but you can easily find the element that you need by calling getElement on your cell and iterating through its children nodes, or by using getInnerHtml and indexOf.