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

    DataTable column start not visible

    Framework
    5
    10
    2992
    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.
    • wilcorrea
      wilcorrea last edited by

      Hi, there is any way to start a column “unchecked” on columnPicker?

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

        Currently no, but will make it possible soon.

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

          I will try do for here, if it works I will send a PR ; )

          Thanks @rstoenescu

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

            I believe what few changes in “vue-components/data-table/plugins/column-selection/column-selection.js” and “vue-components/data-table/DataTable.vue” will solve it, but I need of a property in columns[field] schema to reproduce the behavior. Can I add the property “visible” to “field”?

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

              Maybe will be better a property be called “hidden” to keep the default behavior what is haves today.

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

                Yes, a “hidden” prop to the columns would be better. The problem is that it’s not quite ok to touch user supplied prop content (like setting hidden to false when user selects a column to be visible again). This needs a careful design. The “hidden” prop should be taken into consideration at created() Vue step and then disregarded going forward.

                wilcorrea 1 Reply Last reply Reply Quote 0
                • wilcorrea
                  wilcorrea @rstoenescu last edited by

                  @rstoenescu Yep, I agree! Thanks again for feedback ; )

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

                    This would be a nice feature from my pov - fwiw : ) - thanks for the high quality work so far.

                    1 Reply Last reply Reply Quote 1
                    • D
                      donvie last edited by

                      Cant solve the problem yet! anyone can help me Thanks 🙂

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

                        This is a v0.15 feature, already implemented

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