Table custom sort
See original GitHub issueI’m using my own sort function but i still want to use sortable option for each field because it’s adding a lot off accessible aria attributes and css.
so my function is called with v-on:head-clicked="sort"
but because the field is sortable: true
the table get sorted twice. i tried adding no-provider-sorting
but i don’t see any difference.
as you can see in this example: https://jsfiddle.net/yf1bokxm/
i’m trying NOT to sort items with no score. but having sortable: true
on score field is ignoring my sort.
(here: https://jsfiddle.net/xsaLjuq0/ is working custom sorting when sortable is not set)
what else can i do?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Sort data using a custom list - Microsoft Support
Select the columns to sort. · In the ribbon, click Data > Sort. · In the Sort popup window, in the Sort by...
Read more >Implementing Custom Sorting in Columns in JavaScript
This tutorial will describe how to give your users the ability to sort table columns using the MatTable's built-in sorting mechanism. Demo ...
Read more >How to sort data by multiple columns in Excel | TechRepublic
In the Editing group (on the Home tab), click the Sort & Filter option, and choose Custom Sort from the dropdown list. If...
Read more >Pivot Table Sorting Trick - Microsoft Tips and Codes
Custom Sort Columns in a Pivot Table · Open the excel file you want to sort and place your cursor in the top...
Read more >Custom Sort - Logi Analytics
The Custom Sort dialog helps you to set the sorting manner of data displayed in the table or the sorting manner of groups...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You still have local sorting enabled, so you need to add
no-local-sorting
prop to your b-table to disable the internal sort routineSee https://bootstrap-vue.js.org/docs/components/table/#disable-local-sorting
Cool.