Ich habe die showFooter-Eigenschaft gefunden. aber ich verstehe nicht, wie man den Inhalt dafür anpasst.Ist es möglich, <footer> in bootstrapable zu beheben?
ich brauche nur drei von insgesamt 8 zu füllen ...
so Tabelle sieht im Grunde wie folgt:
<div class="table-responsive">
<table class="table table-bordered" id="tblKontoauszug">
<thead>
<tr>
<th data-sortable="@sortable" data-sorter="dateSorter">Buchungsdat.</th>
<th data-sortable="@sortable">Belegnr.</th>
<th data-sortable="@sortable">BA</th>
<th data-sortable="@sortable" data-sorter="betragSorter">Betrag</th>
<th data-sortable="@sortable">Buchungstext</th>
<th data-sortable="@sortable">Gegenkontoart</th>
<th data-sortable="@sortable">Gegenkonto</th>
<th data-sortable="@sortable">Bezeichnung</th>
</tr>
<tr class="info text-bold">
<td>
@if (Model.Zeilen.Count() > 0)
{
<span>@Model.Zeilen.Min(b => b.Buchungsdatum).ToShortDateString()</span>
}
</td>
<td colspan="2">Anfangsbestand</td>
<td class="text-right">@Model.Anfangsbestand.ToString("N")</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</thead>
<tfoot>
<tr class="info text-bold">
<td>
@if (Model.Zeilen.Count() > 0)
{
<span>@Model.Zeilen.Max(b => b.Buchungsdatum).ToShortDateString()</span>
}
</td>
<td colspan="2">Endbestand</td>
<td class="text-right @(Model.Endbestand < 0 ? "negative" : "")">@Model.Endbestand.ToString("N")</td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tfoot>
<tbody>
@foreach (var zeile in Model.Zeilen)
{
<tr>
<td>@zeile.Buchungsdatum.ToShortDateString()</td>
<td>@zeile.Belegnummer</td>
<td title="@zeile.BelegartText">@zeile.Belegart</td>
<td class="text-right @(zeile.Betrag < 0 ? "negative" : "")">@zeile.Betrag.ToString("N")</td>
<td>@zeile.Buchungstext</td>
<td>@zeile.Gegenkontoart</td>
<td>@zeile.Gegenkonto</td>
<td>@zeile.Bezeichnung</td>
</tr>
}
</tbody>
</table>
</div>
Haben Sie dies herausgefunden? Ich habe das gleiche Problem. –