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):
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
Post a Comment