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

    Filtering Hidden Column Data

    Help
    3
    6
    881
    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.
    • J
      johnorford1 last edited by johnorford1

      When I hide columns in a data table and then filter, the filter ignores hidden column data.

      This seems a little unintuitive - although I am ready to be convinced otherwise.

      Is there a way to filter on all data, visible and hidden?

      Perhaps there is a simple way, I just cannot figure it out right now.

      (I am using 0.17.15)

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

        @johnorford1 You could use your custom filter method.

        https://quasar-framework.org/components/datatable.html#Custom-Filter-Method

        1 Reply Last reply Reply Quote 0
        • J
          johnorford1 last edited by

          yeh I suppose, just seems like reinventing the wheel for pretty common (?) use-case…

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

            If you think it is a bug, report it with a fiddle on Github.

            Scott

            1 Reply Last reply Reply Quote 0
            • J
              johnorford1 last edited by

              I suppose, that’s why I posted here - does anyone else think this is a worthy bug?

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

                Hi, I’m not sure that we could call it a bug. It is more of a preference in user experience. Should a user be able to filter data that he has previously hidden?
                Take a look at this jsfiddle, I think it would be confusing for a user if he typed “doe” and “John” would show in the table or “Hanz” and Peter would show.

                Maybe you could make that optional and allow users to choose “Search hidden columns” and use custom filter method to do so.

                https://jsfiddle.net/ShoneMSG/oqp4wmxk/260/

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