MCPcopy Create free account
hub / github.com/AllenFang/react-bootstrap-table / _refresh

Method _refresh

src/store/TableDataStore.js:155–163  ·  view source on GitHub ↗
(skipSorting)

Source from the content-addressed store, hash-verified

153 }
154
155 _refresh(skipSorting) {
156 if (this.isOnFilter) {
157 if (this.filterObj !== null) this.filter(this.filterObj);
158 if (this.searchText !== null) this.search(this.searchText);
159 }
160 if (!skipSorting && this.sortList.length > 0) {
161 this.sort();
162 }
163 }
164
165 ignoreNonSelected() {
166 this.showOnlySelected = !this.showOnlySelected;

Callers 3

setDataMethod · 0.95
addAtBeginMethod · 0.95
addMethod · 0.95

Calls 3

filterMethod · 0.95
searchMethod · 0.95
sortMethod · 0.95

Tested by

no test coverage detected