You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
b-table has a header with sorting options
When i click on sorting, it sorts only the page i am currently on.
What i need is to trigger fetchData() and pull data from server with data sorted.
Here is relevant code:
This discussion was converted from issue #5825 on December 23, 2020 23:12.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
b-table has a header with sorting options
When i click on sorting, it sorts only the page i am currently on.
What i need is to trigger fetchData() and pull data from server with data sorted.
Here is relevant code:
What happens is that it sends request to server like so:
Please note that
sortBy=$this
In Vue inspector, after clicking on sort icons in table header, sortBy from empty string became sortBy="$this"
Versions
Libraries:
"bootstrap-vue": "^2.16.0",
"bootstrap": "^4.5.2",
"vue": "^2.6.12",
Environment:
Device: Mac
OS: [e.g. macOS Mojave or iOS 12]
Browser:Chrome
Version 85.0.4183.102 (Official Build) (64-bit)
Beta Was this translation helpful? Give feedback.
All reactions