No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Q-table issue with pagination.sync

    Framework
    1
    1
    186
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jraez last edited by

      I was looking for a way to force the pagination to a defined “rows per page” value when I stumble upon an issue.

      If the pagination.sync props is set inline, the whole quasar compilation fails (node is taking 100% CPU).

      For example: <q-table :pagination.sync="{ rowsPerPage: 20, rowsNumber: 10 }"></q-table>

      If the pagination is reactive data from the component, it works fine.

      For example: <q-table :pagination.sync=“pagination”></q-table>
      where data have pagination: { rowsPerPage: 20, rowsNumber: 10 }

      Here a codepen that reflect the issue:
      https://codepen.io/jraez/pen/povYJaM

      1 Reply Last reply Reply Quote 0
      • First post
        Last post