mirror of
https://github.com/koalyptus/TableFilter.git
synced 2024-05-02 14:52:50 +02:00
Started addressing alternate rows bug in conjunction with sorting a column at start
This commit is contained in:
parent
0f337c8fe9
commit
9b93b2fc26
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "tablefilter",
|
||||
"version": "0.4.21",
|
||||
"version": "0.4.22",
|
||||
"description": "A Javascript library making HTML tables filterable and a bit more",
|
||||
"license": "MIT",
|
||||
"author": {
|
||||
|
|
|
@ -158,6 +158,8 @@ export default class AdapterSortableTable extends Feature {
|
|||
let sortColAtStart = adpt.sortColAtStart;
|
||||
if (sortColAtStart) {
|
||||
this.stt.sort(sortColAtStart[0], sortColAtStart[1]);
|
||||
this.emitter.emit('column-sorted', this.tf, sortColAtStart[0],
|
||||
sortColAtStart[1]);
|
||||
}
|
||||
|
||||
if (this.onSortLoaded) {
|
||||
|
|
Loading…
Reference in a new issue