Skip to content

How to implement fixed footer row in UTable? #3409

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

Closed
Cecemaru opened this issue Feb 26, 2025 · 2 comments
Closed

How to implement fixed footer row in UTable? #3409

Cecemaru opened this issue Feb 26, 2025 · 2 comments
Labels
duplicate This issue or pull request already exists question Further information is requested

Comments

@Cecemaru
Copy link

Cecemaru commented Feb 26, 2025

Description

I'm trying to implement a table with a fixed footer row (total/summary row) that should always stay at the bottom and not be affected by sorting operations. Is there a built-in way to achieve this with UTable?

What I'm Trying to Achieve

  • Column widths in the total row should match exactly with the UTable columns
  • Maintain visual consistency between table and total row
  • Keep the total row fixed at bottom (not affected by sorting)

Questions

  1. Is there a prop or slot for footer rows in UTable?
  2. Are there any table features I might have missed in the documentation?
  3. What's the recommended way to handle summary rows in UTable?
  4. Is there a way to exclude specific rows from sorting?

Current Workaround
Currently, I'm using a separate div below the table:

Currently

Image

Expected

Image

Would appreciate any guidance on achieving proper column alignment between UTable and the total row!

@Cecemaru Cecemaru added the question Further information is requested label Feb 26, 2025
@Cecemaru Cecemaru changed the title Question: How to implement fixed footer row in UTable? How to implement fixed footer row in UTable? Feb 26, 2025
@nbozoglu
Copy link

+1 for this.

We have a custom "Total" row at the end of our table but it is very hacky (literally added it as an extra data row so it aligns). Also it won't stay as a "footer" on a sortable table.

Looking forward to a better solution.

@ronannnn
Copy link

+1

@benjamincanac benjamincanac added the duplicate This issue or pull request already exists label Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants