How i set data-attributes in rows of table?

How i set data-attributes in rows of table?

Has SanHas San Posts: 5Questions: 1Answers: 0

just like this
<tr data-index="@x.Id" data-position="@x.Position">

Answers

This discussion has been closed.