Skip to content

虚拟滚动表格合计行样式问题 #4262

@skzkk

Description

@skzkk

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

复现步骤:官方源码测试 TablesVirtualization.razor,第一个demo的table更改如下(去掉了class="table-virtualize-demo",不然非固定列无法滚动)

    <TableColumn @bind-Field="@context.DateTime" Width="200" Fixed="true" Filterable="true" />
    <TableColumn @bind-Field="@context.Name" Width="300" Fixed="true" Filterable="true" />
    <TableColumn @bind-Field="@context.Address" Width="400" Readonly="true" Filterable="true" />
    <TableColumn @bind-Field="@context.Education" Width="300" />
    <TableColumn @bind-Field="@context.Count" Width="180" />
    <TableColumn @bind-Field="@context.Complete" Width="180" />
    <TableColumn @bind-Field="@context.Complete" Width="180" />
    <TableColumn @bind-Field="@context.Complete" Width="180" />
    <TableColumn @bind-Field="@context.Complete" Width="180" />
    <TableColumn @bind-Field="@context.Complete" Width="180" />
    <TableColumn @bind-Field="@context.Complete" Width="180" />
    <TableColumn @bind-Field="@context.Complete" Width="180" />
    <TableColumn @bind-Field="@context.Complete" Width="180" />
    <TableColumn @bind-Field="@context.Complete" Width="180" />
</TableColumns>
<TableFooter>
    <TableFooterCell colspan="4" Text="@Localizer["TablesFooterInfo"]" Align="Alignment.Left" />
    <TableFooterCell colspan="2" Aggregate="AggregateType.Average" Field="@nameof(Foo.Count)" />
</TableFooter>
![7d48bae6-7d0a-437e-a918-310ca60d20b2](https://github.com/user-attachments/assets/5f78de59-e717-481c-9b14-5bd2cbcb9a53)

Expected Behavior

期望:样式正常

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions