Comments (2)
It actually sorting correctly. It is sorting by string by default.
You can use custom sort function.
https://primeng.org/table#api.table.props.customSort
https://primeng.org/table#api.table.emitters.sortFunction
from primeng.
Thanks @Sinan997 for the response.
I'm new to this custom sorting. can you please provide some reference to suit my case where click of one column would sort based on multiple other columns
from primeng.
Related Issues (20)
- Autocomplete: "[object Object]" displayed when optionLabel input is used and the computed label value is null or undefined HOT 2
- pFocusTrap: "aria-hidden-focus" accessibility rule violation
- RadioButton | Remove label & labelStyleClass
- Remove SlideMenu Component
- Menubar: Positioning of sub-menus goes off screen
- P-Chart: Chart Width & Height not working with 17.18.4 HOT 2
- p-dropdown with editable=true and floating labels doesn't work with manually entered values
- p-dropdown: Panel not positioned correctly under some specific filter circumstances HOT 1
- Issue with LsitBox and style since 17.18.4 HOT 1
- MultiSelect and Listbox filterby is not working
- 17.6.15 Build failed
- Tree: inputText in Template mode does not respond to a space key
- ListBox | Add Checkmark and checkmarkTemplate
- Sort not working for nested dynamic columns in table HOT 3
- p-selectButton Not Selecting Default Option Value HOT 2
- Autocomplete: with virtual scroll and item selected, it doesn't show items in dropdown and doesn't keep the selected item position when scrolling
- Button | Add focus() method
- Menu: Popup menu cannot be opened on a different target when it is already opened
- Component: Table, when I try add a custom icon doesn't work
- p-inputnumber: Not allowing to start the decimal with DOT(.)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from primeng.