Hi, I have a grid and I need to display pagination conditionally. For some reason, if I use pageSize: take when I do not want to paginate, sort doesnt work. I get a no records found message. But if I send in a prop to paginate, sort works. Please advice.
This is my link:
Please check Line no.357 in Reusegrid.jsx file. With pageSize: take, sorting doest return data but when I remove the pageSize, sorting works but in the pageInfo, I get 1-10 of 77 items whereas I need 1-77 of 77 items. Please advice.