javascript - Select all filtered Items in React Bootstrap table -


i'm using react bootstrap table plugin make grids application because offers many customization/filtering options. i've found 1 situation can't manage read in documentation.

i'll use sample grid example (i can share images due sandboxing, provide links these images):

1. grid no filters applied

2. 1 filter applied

then, if click on select checkbox, or paged elements or elements can chosen, not filtered ones.

so, summarizing, seems can choose either elements select, or ones comes in rows parameter (see sample code above taken site):

function onselectall(isselected, rows) {     alert(`is select all: ${isselected}`);     if (isselected) {         alert('current display , selected data: ');     } else {         alert('unselect rows: ');     }     (let = 0; < rows.length; i++) {         alert(rows[i].id);     } } 

then, there way filtered elements programmatically when pagination enabled? in advance.


Comments

Popular posts from this blog

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -