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

    Table popup-edit and selection

    Help
    2
    3
    489
    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.
    • X
      xdesai last edited by

      I’ve been trying to implement some popup-editing alongside selection functionality, however I can’t get them to line up.

      By using the body slot, I lose the ability to show the checkbox, and using the scoped slot doesn’t seem to work.

      https://codepen.io/xariusdesai/pen/JjbqWVy?editors=101

      Any ideas?

      S 1 Reply Last reply Reply Quote 0
      • S
        suleiman_as @xdesai last edited by

        @xdesai You can delete:
        <template v-slot:body-selection=“scope”>
        <q-checkbox v-model=“scope.selected” />
        </template>

        and add the checkbox in body slot - under q-tr

        <template v-slot:body="props">
            <q-tr :props="props">
                <q-td>
                    <q-checkbox v-model="props.selected"/>
                </q-td>
                ...
            </q-tr>
        </template>
        
        1 Reply Last reply Reply Quote 1
        • X
          xdesai last edited by

          Perfect, knew there was something I wasn’t quite understanding

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