You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| validSearchText | string | is an empty string if the searched text did not pass the `minSearchChars`, if it does pass, it will be equal to `searchText`| --- |
558
559
| setSearchText | function | updates the search text |`setSearchText('hello')`|
559
560
| searchRows | function | filters rows based on the search text, using the search method defined on the columns |`searchRows(rows)`|
560
561
| valuePassesSearch | function | returns true if a value passes the search for a certain column |`valuePassesSearch('hello', column)`|
@@ -572,7 +573,8 @@ API Structure:
572
573
573
574
| name | type | description | usage |
574
575
|---|---|---|---|
575
-
| rows | array | the rows | --- |
576
+
| rows | array | the rows data (in sync mode - the rows data after the search filter and the sort) | --- |
577
+
| originalRows | array | the rows data untouched (in sync mode - the rows data before the search filter) | --- |
576
578
| setRows | function | updates the rows |`setRows(rows)`|
577
579
| totalRows | number | the total number of rows | --- |
578
580
| setTotalRows | function | updates the total number of rows |`setTotalRows(1000)`|
@@ -625,7 +627,7 @@ API Structure:
625
627
# How to...
626
628
627
629
### Sync/Async
628
-
`react-grid-table` supports 4 different data managing flows:
630
+
`react-grid-table` supports 4 different data models:
0 commit comments