Is there any way to reset pageSize for react-table-v6
? What I can do is only to change defaultPageSize
value accessing ReactTable component state via refs but that will only set default value which still is the same but not reset user choice to default one.
Simple JavaScript like
document.getElementById("pageSize").value = "10";
is not working on TableReact component.
Any tips on that?