quasar icon indicating copy to clipboard operation
quasar copied to clipboard

[Request] initial sorting in DataTable

Open llin55 opened this issue 9 years ago • 9 comments

Please add a possibility to set an initial sorting in DataTable for a specified column (asc/desc)

llin55 avatar Aug 16 '17 14:08 llin55

DataTable revamp is in progress for v0.15. It will include this. Thanks for your patience.

rstoenescu avatar Sep 17 '17 20:09 rstoenescu

Curious if when you enable setting initial sort column/direction that you could expose the column key/name and direction? This would include some kind of a catchable sort ‘changed’ event. I am persisting filters/search parameters as URL Query Parameters. It would be awesome to include/update sort parameters as well. Thank you. :)

LarryEitel avatar Sep 20 '17 14:09 LarryEitel

@LarryEitel Yes, you'll be able to do that. Many new possibilites open up with the revamp.

rstoenescu avatar Sep 21 '17 06:09 rstoenescu

Is there an ETA for this (even a rough one)? I really (really) need the new data table functionality, but if the component isn't coming for months I will look for another solution. I have already donated money to the project, but if a little more would help move this along, I am happy to donate again.

ssuess avatar Oct 01 '17 14:10 ssuess

Rough ETA: 1 month. v0.15 coming along with other components and need to ensure quality. Otherwise the datatable would be ready in 2-3 days. Thanks for your patience.

rstoenescu avatar Oct 01 '17 20:10 rstoenescu

Thanks @rstoenescu, this info helps a lot with my own app planning.

ssuess avatar Oct 01 '17 20:10 ssuess

Closing as code is ready in v0.15 datatable revamp.

rstoenescu avatar Oct 20 '17 17:10 rstoenescu

Implemented here: https://quasar-framework.org/components/datatable.html#Pagination

NicksonYap avatar Feb 09 '19 16:02 NicksonYap

Since the last shared docs link in the thread does land on the front page of the docs, here is the current one: https://quasar.dev/vue-components/table#pagination

devidw avatar Apr 13 '22 09:04 devidw