Skip to content

<b-table>: allow full custom footer via slot #3960

Closed
@mysuf

Description

@mysuf

Atm, there is no example how to solve custom footer on table with provider func.

I have multiple kinds of results(sums) that I want to place to footer and I dont know how. Basically I want to append multiple custom rows (colspan/rowspan option).

Describe the solution you'd like

If I understand properly, only foot-clone activates footer and FOOT[whatever] rewrites it. Provider generates sortable header and data in tbody, but footer is untouched. Why not to allow simply b-tfoot also in provider's table (without foot-clone prop)? It resolves all issues around custom footer cells and rows. Now this tag is ignored. b-tfoot should be visible in stacked mode because it lacks header functionality.

Describe alternatives you've considered

I tried FOOT[] and bottom-row slots so far, but it resolves only one row of footer

Additional context

Also when stacked="md" (or any breakpoint) is set, newer version (>25) hides header on all resolutions so I am not able to upgrade. Probably a bug?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions