Skip to content

Add support of footer for x-table #802

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ivanchanfy opened this issue Mar 2, 2025 · 2 comments
Open

Add support of footer for x-table #802

ivanchanfy opened this issue Mar 2, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@ivanchanfy
Copy link

I currently can't find a way to add tfoot to a table without modifying the Table component itself. Please add something like x-slot:footer for x-table.

Suggestion:

<x-table :headers="$headers" :rows="$rows">
    <x-slot:footer>
        <tr>
            <th>Col 1</th>
            <th>Col 2</th>
        </tr>
    </x-slot:footer>
</x-table>
@ivanchanfy ivanchanfy added the enhancement New feature or request label Mar 2, 2025
@ivanchanfy
Copy link
Author

Do you think it's possible to add support for sticky columns at the same time?
I'm working on a project that needs mobile optimization and I think a sticky column is a good idea.

@robsontenorio robsontenorio removed the v2 label Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants