Add helper to getFilteredRowIndices

This commit is contained in:
Faris Ansari 2018-02-27 18:58:30 +05:30
parent 5b8be4c5b0
commit b2d26e987b
4 changed files with 24 additions and 0 deletions

View File

@ -1264,12 +1264,18 @@ class DataManager {
}
});
this._filteredRows = rowsToShow;
return {
rowsToHide,
rowsToShow
};
}
getFilteredRowIndices() {
return this._filteredRows || [];
}
getRowCount() {
return this.rowCount;
}

View File

@ -1263,12 +1263,18 @@ class DataManager {
}
});
this._filteredRows = rowsToShow;
return {
rowsToHide,
rowsToShow
};
}
getFilteredRowIndices() {
return this._filteredRows || [];
}
getRowCount() {
return this.rowCount;
}

View File

@ -1263,12 +1263,18 @@ class DataManager {
}
});
this._filteredRows = rowsToShow;
return {
rowsToHide,
rowsToShow
};
}
getFilteredRowIndices() {
return this._filteredRows || [];
}
getRowCount() {
return this.rowCount;
}

View File

@ -417,12 +417,18 @@ export default class DataManager {
}
});
this._filteredRows = rowsToShow;
return {
rowsToHide,
rowsToShow
};
}
getFilteredRowIndices() {
return this._filteredRows || [];
}
getRowCount() {
return this.rowCount;
}