How to bypass row-click event for some columns in QTable? #14102
-
How to bypass row-click event for some columns in QTable? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
By conditionally checking your condition. If you don't provide more information, that's as much of the help you could get. |
Beta Was this translation helpful? Give feedback.
-
Use event modifiers, |
Beta Was this translation helpful? Give feedback.
-
I am sorry I could not explain myself correctly. I do want to "edit" and "delete" @click events fires but I do not want to "youClickMe" @row-click event fires when I click "edt" and "delete" icons. It is just the opposite of your solution. |
Beta Was this translation helpful? Give feedback.
-
Have you tried adding modifier to edit & delete click events? When you click row, it triggers |
Beta Was this translation helpful? Give feedback.
Use event modifiers,
@click.stop="deleteRow(props)"
.