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

    About websocket

    Help
    2
    3
    549
    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.
    • B
      bosconovitchi last edited by

      I want to make a editable data table.It use for employee to reply some like complain sheet.
      so ,here comes the question.If they open the page and load the data table and also start to edit.
      Because edit one record will take some times.There will be much chance that edit the same one.
      So i desided to use websocket to control that.When someone start to edit a record.Use websocket to lock or remove that record on otherelse’s page.
      The quasar can do that with websocket ,and how?
      If i use the data table components with pagination can also do that?

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

        How you consume or implement an API, and the client for that API, is completely open in Quasar. There is no “right way” per se, because you could also do a subscription in GraphQL for the same purposes. The start of your solution is in the events available in each component in Quasar to do whatever it is you want to do with the API - websocket, REST, GraphQL, whatever you decide to use.

        Also, your question is asking for a finished solution for your problem and not for help on an issue with your attempt at your solution to your problem. Therefore, you won’t get any decent answer. You should at least try to come up with a solution first. I hope that makes sense.

        Scott

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

          @s-molinari
          All right,Scott.I’ll start trying that.

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