Position grid items by row/column index