Footer customise rows per page pagination option dropdown to 2, 4, 6, 8 etc... #342
-
Hello All, I am using the easy data table component to render a table, but the footer has only default options like 25, 50, and 100 rows per page in the options dropdown. I want to provide 2, 4, 6, and 8 rows per page for the pagination. is there any way to customize these rows per page pagination options? |
Beta Was this translation helpful? Give feedback.
Answered by
sriram1998
Dec 2, 2023
Replies: 1 comment
-
Ok, I saw the source code and there is a prop called rows-items which can be passed to the data table. But it is not mentioned in the docs. I set it like :rows-items="[2, 4, 6, 8]" and it worked. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sriram1998
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, I saw the source code and there is a prop called rows-items which can be passed to the data table. But it is not mentioned in the docs. I set it like :rows-items="[2, 4, 6, 8]" and it worked.