Open iron2414 opened 3 years ago
The sorting icons are solved. I had to import all the css from themeing.
Just import the css like this.
@import "~@swimlane/ngx-datatable/index.css";
@import "~@swimlane/ngx-datatable/themes/material.scss";
@import "~@swimlane/ngx-datatable/assets/icons.css";
If it solved close de PR.
I'm submitting a ... (check one with "x")
Current behavior
I am using Angular 9, hence using ngx-datatable 17.1.0. When I am applying sort, with SortType.Multi, and reorderable and selectable, then there are no sort icons at all. I can sort by clicking on the header properly. And when i try to reorder a column sometimes it gets sorted, or weird text selection happens.
Expected behavior
I expect there to be sort icons, like on the example here https://swimlane.github.io/ngx-datatable/#client-sorting. I expect reorder to do not modify my sort and do not select the header text.
Reproduction of the problem
Angular 9 with ngx-datatable 17.1.0.
ts:
HTML:
What is the motivation / use case for changing the behavior?
I am trying to create a proper sortable/selectable/filterable data table for my application.
Please tell us about your environment: Windows 10, Webstorm, npm 6.14.5 serving with ng serve
Table version: Haven't found an issue like this.
Angular version: Angular 9
Browser: Chrome, any version
Language: TypeScript