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

    How to Update a DataTable Record

    Help
    2
    5
    862
    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.
    • D
      Denis Correia last edited by Denis Correia

      How can I do to change an object listed in the DataTable?
      I’m trying like this:
      I have the table
      0_1538098074342_c253138b-ae53-4bd4-b666-10b8331e59e7-image.png

      after editing the object I run the list and change to the new value
      0_1538098282406_d1b79dae-8684-41b7-b45e-5486811b2ad6-image.png

      0_1538098301106_90582603-82e0-4280-a005-a1d99dd65e6e-image.png

      but this does not make the value change immediately, I need to change the pagination in the table and go back before the value changes.

      Exemple

      Edit1:
      Conforme indicado por: @aleks86dev#8670

      0_1538134209018_f72efdd9-f2d8-488d-a5ee-106efbc9c80e-image.png

      That worked

      1 Reply Last reply Reply Quote 0
      • D
        Denis Correia last edited by

        Example: https://ibb.co/doijGp

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

          Hi Denis,

          Check this out. Not sure it will fit your use case, but maybe it might give you something to work with.

          https://jsfiddle.net/smolinari/n4Lo5zaj/

          Scott

          1 Reply Last reply Reply Quote 0
          • D
            Denis Correia last edited by

            It worked, had to change to the method:
            https://vuejs.org/v2/guide/reactivity.html

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

              Did you check my example?

              Scott

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