Navigation

    Quasar Framework

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

    How to set default config for QTable component, like rowsPerPageOptions?

    Framework
    2
    2
    39
    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.
    • V
      viveksingh0143 last edited by viveksingh0143

      How do i set the global config for rowsPerPageOptions for QTable? I have found “config” property in quasar.config.js but no further details found related to this.
      Is there any other workaround for this?

      Any help will be grateful.

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        There isn’t a global config value for any components (except for dark mode). You set the component’s “config” in the component itself. If you want a certain QTable set up for each use of that component, then you can either use a mixin or you can create a wrapper component.

        Scott

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