mirror of
https://github.com/koalyptus/TableFilter.git
synced 2026-03-18 00:19:50 +01:00
Continued TableFilter
This commit is contained in:
parent
34cc60ace9
commit
ed2f638bf2
15 changed files with 278 additions and 84 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue