SushrutGaikwad
7 years agoQrew Trainee
Limited the number of records shown in a report with a button.
I have a table that has 10,000 records of data. I have two roles, premium and trial. I want the trial users to be able to search, filter, sort etc on 10,000 records worth of data but the number of records that they would see should be limited to 15.
For eg, assume I have 10,000 records in my table with only one field: "Number". The numbers range from 1-10000. As a trial user, assuming the default report is set to sort from low to high, I should be able to see records 1-15 only. If I sort from high to low, I should be able to see 9985-10000 only. Also, there should be a button at the bottom of the report that says 'Show more'
For eg, assume I have 10,000 records in my table with only one field: "Number". The numbers range from 1-10000. As a trial user, assuming the default report is set to sort from low to high, I should be able to see records 1-15 only. If I sort from high to low, I should be able to see 9985-10000 only. Also, there should be a button at the bottom of the report that says 'Show more'