BlazorTable
BlazorTable copied to clipboard
Question: How do I show the item number (index) ?
In the first column I want to show the item no. For example, first row would would show 1, second row 2 and so on. The last row would obviously show the number of rows in the table. Even if sorting or filtering, this will be same. First row would show 1, last row would show the number of items in the filtered list.
If I don't use this component, I maybe doing: @for (i=0; i< filteredList.Count; i++)
{
<span>i+1</span>
}