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



  • 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.



  • 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


Log in to reply