ngx-easy-table | Easiest Angular Table. 12kb gzipped | Grid library
kandi X-RAY | ngx-easy-table Summary
kandi X-RAY | ngx-easy-table Summary
This project is feature complete, and I don't plan to add any new features. I update the library to provide support for the latest Angular releases.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of ngx-easy-table
ngx-easy-table Key Features
ngx-easy-table Examples and Code Snippets
Community Discussions
Trending Discussions on ngx-easy-table
QUESTION
Angular version: 6
Table library: ngx-easy-table
Library reference links:
https://stackblitz.com/edit/ngx-easy-table?file=app%2Fcomponents%2Fserver-sort%2Fserver-sort.component.ts
https://github.com/ssuperczynski/ngx-easy-table/wiki
Using the above table library, I want to sort certain columns using my custom sort function on the click of that particular column header/title. There is an example of custom sort in the stackblitz link provided above which enables us to do that but by placing a separate button for each column.
Also, am using to render the table data as below:
ANSWER
Answered 2018-Sep-27 at 09:41I'm the creator of this library. Solution is really simple. Please check link here where this example is described.
You need to check in the eventEmitted
method which header key has been clicked. Then call your custom sort method, in this case sortByLastName
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ngx-easy-table
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page