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
    1. Home
    2. Gnopps
    G
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 12
    • Best 3
    • Groups 0

    Gnopps

    @Gnopps

    4
    Reputation
    14
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Gnopps Follow

    Best posts made by Gnopps

    • RE: Razvan is taking some time off

      Thanks for your work Razvan and I hope things turn for the better!

      posted in Announcements
      G
      Gnopps
    • RE: How to open QSelect dropdown programmatically?

      I’m facing the same problem. Did you get it working? Otherwise we’ll need to create an issue about this.

      posted in Help
      G
      Gnopps
    • When size of content in Q-menu changes height close to screen border, how to make Q-menu move?

      I’ve got a qmenu with a qlist inside it. The qlist size (height) will change while the menu remains open (I don’t know the size of the list when the menu opens). This works fine except if the qmenu is opened near the bottom of the page. Then the qmenu will create scrollbars, instead of switching position from below the item to above the item. Is there a remedy for this?

      Here is a Codepen example: https://codepen.io/Gnopps/pen/jONrYjr?editors=1010

      This is what I get:

      b1bad019-6b97-4733-9fa3-ed4616ac5fa5-image.png

      Whereas this is the result I’m after:

      b57a738f-f519-4992-9ec8-34d12a0a238c-image.png

      posted in Help
      G
      Gnopps

    Latest posts made by Gnopps

    • RE: How to open QSelect dropdown programmatically?

      I’m facing the same problem. Did you get it working? Otherwise we’ll need to create an issue about this.

      posted in Help
      G
      Gnopps
    • RE: Possible for QSelect not to open dropdown when clicking component?

      @metalsadman Great stuff, thank you for your help!

      posted in Help
      G
      Gnopps
    • Possible for QSelect not to open dropdown when clicking component?

      I’m using the q-select component with the use-input prop to allow for typing. When the user clicks the component the dropdown-menu with options is automatically opened.

      I’d like for the component to keep the options-menu closed until the user starts typing or clicks specifically on the dropdown-icon. Is this possible to accomplish or do I need to write my own component for that?

      Thanks in advance for the help!

      posted in Help
      G
      Gnopps
    • RE: Razvan is taking some time off

      Thanks for your work Razvan and I hope things turn for the better!

      posted in Announcements
      G
      Gnopps
    • When size of content in Q-menu changes height close to screen border, how to make Q-menu move?

      I’ve got a qmenu with a qlist inside it. The qlist size (height) will change while the menu remains open (I don’t know the size of the list when the menu opens). This works fine except if the qmenu is opened near the bottom of the page. Then the qmenu will create scrollbars, instead of switching position from below the item to above the item. Is there a remedy for this?

      Here is a Codepen example: https://codepen.io/Gnopps/pen/jONrYjr?editors=1010

      This is what I get:

      b1bad019-6b97-4733-9fa3-ed4616ac5fa5-image.png

      Whereas this is the result I’m after:

      b57a738f-f519-4992-9ec8-34d12a0a238c-image.png

      posted in Help
      G
      Gnopps
    • RE: How to detect row clicks in qtable when combining with body-cell-[name] slots?

      Yes, this works. Thanks a lot!

      posted in Help
      G
      Gnopps
    • How to detect row clicks in qtable when combining with body-cell-[name] slots?

      I’m using a q-table with scoped slots to format certain columns:

      <q-table
              :data="data"
              :columns="columns"
              row-key="id"
            >
              <template v-slot:body-cell-rating="props">
                <q-td>
                  <q-rating
                    v-model="props.row.rating"
                    icon="star"
                    readonly
                  />
                </q-td>
              </template>
      </q-table>
      

      The table has many columns. Now I’d like to detect when the user clicks a row. I can do that like this:

      <template v-slot:body="props">
              <q-tr :props="props" @click.native="requestRowClick(props.row.id)">
              </q-tr>
      </template>
      

      However, the problem with doing this is that this overrides the whole body, meaning I will have to specify a q-td manually for each column.

      Is it possible to combine these two somehow so that I can use the body-cell-[name] slot and at the same time detect row clicks?

      posted in Help
      G
      Gnopps
    • RE: How to create sticky header on page?

      I’m trying to make the border between C/D and B draggable and am experiementing with qsplitter instead of qdrawer. It seems to be working except for this toolbar issue. However I managed to “solve” it in a hacky way, where the width of the qsticky is computed to be the same as the qsplitter-value. There ought to be a more elegant solution though:

      <q-splitter v-model="splitterModel" :limits="[50, 100]">
         <template v-slot:before>
           <pageComponent/>
           <q-page-sticky expand position="top" :style="toolBarWidth">
             <q-toolbar class="bg-accent text-white">
               <q-toolbar-title>Page Title</q-toolbar-title>
             </q-toolbar>
           </q-page-sticky>
         </template>
         <template v-slot:after>
           <sidebarComponent />
         </template>
       </q-splitter>
      </div>
      </template>
      
      
      <script>
      export default {
      computed: {
       toolBarWidth() {
         return "width:" + this.splitterModel + "%";
       }
      },
      data() {
       return {
         splitterModel: 75
       };
      }
      
      posted in Help
      G
      Gnopps
    • RE: How to create sticky header on page?

      Thanks for your idea! I tried it before but didn’t add padding. Now when I added padding for the content, it worked.

      However, expanded page-sticky doesn’t work with qsplitter, it expands over the split area. (i.e. into both ther before and after slots of qplitter). Any ideas on how that could be solved?

      posted in Help
      G
      Gnopps
    • How to create sticky header on page?

      I’ve got a qpage inside a qlayout. On this qpage I’d like to have a sticky menu that covers the width of the qpage. I can do this with a qtoolbar, but I haven’t figured out how to make it sticky. If I use qpagesticky then it just becomes overlaid over the content and what I’m looking for is reducing the qpage size.

      So question is, how do I create the green element C in the example below?

      1d96085e-a427-45de-8ebf-fdcebd09e527-image.png

      I’ve been searching here about making qtoolbar sticky or nesting layouts, but haven’t been able to figure out how to accomplish this yet. Any ideas here?

      posted in Help
      G
      Gnopps