includeBottomAdjacents method
Set range adjacents for Bottom column
Implementation
Range includeBottomAdjacents(
int topRow,
int leftColumn,
int bottomRow,
int rightColumn,
Range filterRange,
) {
_initializeFilterRange(topRow, leftColumn, bottomRow, rightColumn);
_hasAdjacents = false;
_getBottomAdjacents(
topRow,
leftColumn,
bottomRow,
rightColumn,
filterRange,
);
filterRange = filterRange.worksheet.getRangeByIndex(
_topRow,
_leftColumn,
_bottomRow,
_rightColumn,
);
if (_hasAdjacents) {
filterRange = includeBottomAdjacents(
_topRow,
_leftColumn,
_bottomRow,
_rightColumn,
filterRange,
);
}
return filterRange;
}