blazor(server side)에서 동적 binding으로 update되는데 정적코드 갱신을 어떻게 해야될지 모르겠어요.
bootstrap table을 사용중입니다. 테이블에 항목을 bihind code로 항목을 추가하는데 빨강색으로 표시한 page navigation이 표시가 되지 않습니다. 테이블 항목만 동적으로 추가되다보니 현재 항목이 0개로 인식되는거 같습니다.
정적으로 항목을 추가하면 page가 navigation이 추가되는데 동적으로 추가하면 표시가 되지 않습니다.
웹쪽에 기본 지식이 부족하다보니 어떻게 처리해야될지 모르겠네요.
<div class="card mb-4">
<div class="card-header">
<i class="fas fa-table me-1"></i>
DataTable Example
</div>
<div class="card-body">
<table id="datatablesSimple">
<thead>
<tr>
<th>Name</th>
<th>Position</th>
<th>Office</th>
<th>Age</th>
<th>Start date</th>
<th>Salary</th>
</tr>
</thead>
<tbody>
@for(var item in itemlist)
{
<td>@item.serial</td>
<td>@item.informationl</td>
}
</tbody>