Custom Data Table sorting arrows not changed
See original GitHub issueCustom Data table sorting arrows are not changing, Good thing is sorting is working but arrows are not changing Here are the pictures Sort By asc
Sort By Desc
Here is my code
`<table td-data-table #dataTable>
<th td-data-table-column *ngFor="let column of columns" [numeric]="column.numeric"
[sortable]=“true” [sortOrder]=“columnSortOrders[column.name]” (sortChange)=“sort($event,column.name)”> {{column.label}}
<tbody>
<tr td-data-table-row *ngFor="let row of filteredData; let index=index" on-mouseover="hoveredIndex=index">
<td td-data-table-cell *ngFor="let column of columns" [numeric]="column.numeric">
{{column.format ? column.format(row[column.name]) : row[column.name]}}
</td>
</tr>
</tbody>
`
What thing is wrong ? it should change the arrows also for Customs Data Table, We need Custom because we need to add custom buttons and menus
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
html - DataTables jQuery - custom sort arrows - Stack Overflow
I'm trying to change the sort arrows on the jQuery version of DataTables (https://datatables.net/). I want to accomplish this without ...
Read more >Missing Sort Arrows — DataTables forums
I have jquery.dataTables.css as my style sheet but don't have arrows for sorting. Sorting works by clicking on the columns, but where are...
Read more >DataTable Sorting - Documentation - Webix
When you click on the header, DataTable starts to display arrows indicating which column the table is currently sorted by and the direction...
Read more >How do I change the colour of the sort arrows? - Barn2 Plugins
To change the colour of the sort arrows in the table, you would need to create a new image (PNG file) for each...
Read more >Datatable sort not working with custom data types
Did you implement the sorting logic on your side? Only setting sortable=true on the columns definition is not enough, that only lets you...
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 Free
Top 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
Sure tomorrow
Thanks
Many Thanks