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

Method setProps

src/store/TableDataStore.js:22–32  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

20 }
21
22 setProps(props) {
23 this.keyField = props.keyField;
24 this.enablePagination = props.isPagination;
25 this.colInfos = props.colInfos;
26 this.remote = props.remote;
27 this.multiColumnSearch = props.multiColumnSearch;
28 // default behaviour if strictSearch prop is not provided: !multiColumnSearch
29 this.strictSearch = typeof props.strictSearch === 'undefined' ?
30 !props.multiColumnSearch : props.strictSearch;
31 this.multiColumnSort = props.multiColumnSort;
32 }
33
34 clean() {
35 this.filteredData = null;

Callers 2

initTableFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected