Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

q-table @row-contextmenu event not being called when table is a grid #17758

Closed
sawyersteven opened this issue Jan 14, 2025 · 2 comments
Closed
Labels
area/components bug/2-confirmed We have reproduce the problem and confirmed that this is a bug. flavour/umd kind/bug 🐞 Qv2 🔝 Quasar v2 issues

Comments

@sawyersteven
Copy link

What happened?

Using this minimal example, the console logs a line "hello world" with each right-click on a row. However, changing the table to a grid prevents @row-contextmenu from being called.

What did you expect to happen?

@row-contextmenu should be called regardless of the configuration of the table

Reproduction URL

https://codepen.io/rstoenescu/pen/xxEvBLR

How to reproduce?

This will spawn a notif when right-clicked

<q-table @row-contextmenu="ctxMenu" :rows="[{ name: 'foo', age: 45 }, { name: 'bar', age: 42 }]"/>

This will not, the only change being the addition of the grid property.

<q-table @row-contextmenu="ctxMenu" :rows="[{ name: 'baz', age: 45 }, { name: 'qux', age: 42 }]" grid/>

Flavour

UMD

Areas

Components (quasar)

Platforms/Browsers

Microsoft Edge

Quasar info output

No response

Relevant log output

No response

Additional context

No response

@github-actions github-actions bot added area/components bug/1-repro-available A reproduction is available and needs to be confirmed. flavour/umd labels Jan 14, 2025
@yusufkandemir yusufkandemir added bug/2-confirmed We have reproduce the problem and confirmed that this is a bug. and removed bug/1-repro-available A reproduction is available and needs to be confirmed. labels Jan 14, 2025
@rstoenescu
Copy link
Member

Hi,

Like the property name states, it's for the row only. But will see what I can do.

@rstoenescu
Copy link
Member

Fix will be available in Quasar v2.17.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/components bug/2-confirmed We have reproduce the problem and confirmed that this is a bug. flavour/umd kind/bug 🐞 Qv2 🔝 Quasar v2 issues
Projects
None yet
Development

No branches or pull requests

3 participants