1
0
Fork 0
mirror of https://github.com/koalyptus/TableFilter.git synced 2026-03-17 08:05:44 +01:00

remove commented out code

This commit is contained in:
koalyptus 2017-11-30 13:57:11 +11:00
commit eb62703e50
11 changed files with 16 additions and 12215 deletions

View file

@ -156,8 +156,7 @@ export class TableFilter {
this.emitter = new Emitter();
// start row
// this.refRow = isUndef(startRow) ? 2 : (startRow + 1);
this.refRow = this.startRow(startRow);
this.refRow = isUndef(startRow) ? 2 : (startRow + 1);
/**
* Collection of filter type by column
@ -2057,14 +2056,6 @@ export class TableFilter {
return elm(this.fltIds[index]);
}
startRow(startRow) {
if (isUndef(startRow)) {
let lastRowIdx = this.getLastRowIndex();
return lastRowIdx >= 2 ? 2 : lastRowIdx;
}
return (startRow + 1);
}
/**
* Return the number of cells for a given row index
* @param {Number} rowIndex Index of the row