added data-position attribute to grid tds