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:
parent
81062452e2
commit
eb62703e50
11 changed files with 16 additions and 12215 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue