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

    QDataTable: Customizing sort buttons to do server calls

    Help
    2
    4
    1234
    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.
    • arjanski
      arjanski last edited by

      Hello,

      I was wondering if someone was trying to achieve something similar:

      We have a project where we’d like to use QDataTable to display search results that could cover up to 50.000 items. Hence we will not load the entire results data at once and use pagination. We would also like to use the integrated sort action for columns, but would like to do the server to do the sorting and return a fraction of the queried results to be displayed via QDataTable. Right now it seems though that QDataTable expects the whole data to work with it.

      Is it possible to customize the sort buttons in QDataTable to call a method for instance? Or will the revamp of QDataTable in 0.15 allow for such a customization?

      Thank you in advance!

      1 Reply Last reply Reply Quote 0
      • arjanski
        arjanski last edited by

        Okay, seems this question was posed here already: http://forum.quasar-framework.org/topic/174/load-data-from-server-into-data-table

        There doesn’t seem to be a solution, although this was 9 months ago…

        1 Reply Last reply Reply Quote 0
        • rstoenescu
          rstoenescu Admin last edited by

          Will be available in v0.15.

          1 Reply Last reply Reply Quote 0
          • arjanski
            arjanski last edited by

            Thank you, this is great news! Looking forward to it

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