appending data-id attribute to row