Beginner question about making data in table example reactive

  • Hi,

    I’m new to Vue and Quasar so please forgive me for asking what is no doubt a very simple question.

    The Quasar table examples contain a vue instance with a data function that returns hardcoded data and column items. Is there some sample code available that shows the table component being used with the data function returning reactive data from javascript variables exterrnal to the vue instance.



  • Hi David,

    The data is reactive. If you make a change to the bound data, it shows up directly in the view as changed. See this example for what I mean.

    It doesn’t matter if it’s an added or removed row, or changed data. The data is updated as it is changed. It’s the core beauty to reactive frameworks. 😄


Log in to reply