Skip to content

Commit 7ca0f65

Browse files
authored
Add td tag to empty rows (#53473)
1 parent b89e21e commit 7ca0f65

File tree

1 file changed

+6
-1
lines changed
  • src/Components/QuickGrid/Microsoft.AspNetCore.Components.QuickGrid/src

1 file changed

+6
-1
lines changed

src/Components/QuickGrid/Microsoft.AspNetCore.Components.QuickGrid/src/QuickGrid.razor

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,12 @@
5252
{
5353
while (rowIndex++ < initialRowIndex + Pagination.ItemsPerPage)
5454
{
55-
<tr></tr>
55+
<tr>
56+
@foreach (var col in _columns)
57+
{
58+
<td class="@ColumnClass(col)" @key="@col"></td>
59+
}
60+
</tr>
5661
}
5762
}
5863
}

0 commit comments

Comments
 (0)