1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2026-03-18 00:19:50 +01:00

Continued TableFilter

This commit is contained in:
Max Guglielmi 2016-08-14 14:14:52 +10:00
commit ed2f638bf2
15 changed files with 278 additions and 84 deletions

View file

@ -162,7 +162,6 @@ export class CheckList extends Feature {
//filter is appended in desired element
if (externalFltTgtId) {
elm(externalFltTgtId).appendChild(divCont);
tf.externalFltEls.push(divCont);
} else {
container.appendChild(divCont);
}

View file

@ -119,7 +119,6 @@ export class Dropdown extends Feature {
//filter is appended in container element
if (externalFltTgtId) {
elm(externalFltTgtId).appendChild(slc);
tf.externalFltEls.push(slc);
} else {
container.appendChild(slc);
}

View file

@ -1,6 +1,5 @@
import {Feature} from '../feature';
import {createElm, removeElm, elm, tag} from '../dom';
import {isNull} from '../types';
import {addEvt, targetEvt} from '../event';
import {contains} from '../string';
import {NONE} from '../const';
@ -310,7 +309,7 @@ export class GridLayout extends Feature {
*/
setOverrides() {
let tf = this.tf;
tf.refRow = isNull(tf.startRow) ? 0 : tf.startRow;
tf.refRow = 0;
tf.headersRow = 0;
tf.filtersRowIndex = 1;
tf.isExternalFlt = true;