1
0
Fork 0
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:
Max Guglielmi 2016-12-16 14:06:00 +11:00
parent 0f337c8fe9
commit 9b93b2fc26
2 changed files with 3 additions and 1 deletions

View file

@ -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": {

View file

@ -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) {