quasar icon indicating copy to clipboard operation
quasar copied to clipboard

QTable footer slot

Open GGLionCross opened this issue 5 years ago • 8 comments

Is it possible to get a footer slot added to QTable just like how there's a header slot? The reason I ask is because I'm trying to make a sticky footer for my QTable, which I know can be done in QVirtualScroll, but I have reasons as to why I would like to remain using QTable. Right now, I'm attempting to manually insert a

into the q-table html, but it would be nice to not have to do this. Thanks!

GGLionCross avatar Aug 05 '20 16:08 GGLionCross

Hi, I was wondering what the current status of this issue was? My team and I added a small adjustment to the code for this, but it would be really nice if there was an official fix (:

GGLionCross avatar Oct 12 '20 17:10 GGLionCross

@GGLionCross The sticky QTable may be what you are looking for done just with CSS: https://codepen.io/Hawkeye64/pen/JjKKEEa

hawkeye64 avatar Oct 24 '20 17:10 hawkeye64

As far as I understand - in this PR footer is also added for QTable in virtual-scroll mode, which is using QVirtualScroll with "table" mode, and QVirtualScroll has "after" slot. QTable with virtual-scroll does not render "after" slot and that's one of the reasons why this issue is opened.

Sticky table may be resolved with CSS, as a lot of other things, sure, it seems more like of consistent approach to QVirtualScroll.

DelaneDiamon avatar Oct 27 '20 15:10 DelaneDiamon

Does this PR no longer applies to the current version of Quasar? Is there a chance changes will be merged any time soon?

DelaneDiamon avatar Dec 11 '20 16:12 DelaneDiamon

There were some major changes after the PR was created and it no longer matches the code. Sorry, I'll see what I can do in the near future.

pdanpdan avatar Dec 11 '20 16:12 pdanpdan

Thank you very much, I understand that Vue 3 is a huge milestone, and there may be almost no time to deal with PR queue.

DelaneDiamon avatar Dec 11 '20 17:12 DelaneDiamon

Hello, so what happened to the footer slot? Did you add it?

aitmamatovmusa avatar Nov 23 '21 12:11 aitmamatovmusa

This message is a friendly inquiry regarding the status of this request.

iamjuanguillermo avatar Sep 13 '25 03:09 iamjuanguillermo