How to limit the number of rows in table based on button click
hi
I have a table with several rows and columns(a, b, c) and I have 3 buttons.The c column will be set to ascending order. When I click first button, I should get first 3 rows. when I click second button, I should get first 5 rows and so on. How can I achieve this ?