JayP718 / powertable_bb_plugin

A "Datatable" like plugin which allows you to build a table based off of custom queries, supporting row selection, data export, and more!
MIT License
13 stars 1 forks source link

Use a checkbox to execute action on click OR on double click #1

Open melohagan opened 1 year ago

melohagan commented 1 year ago

Really cool component @JayP718 looks great! 😎

One nitpick I had is that you can add actions for both single and double click, which will result in the single action being run twice AND the double click action being run.

It would be better imo to use an options picker Click mode with options Single and Double.

Then just have a single On Click setting instead of two:

Screenshot 2022-12-21 at 17 53 03

JayP718 commented 1 year ago

Thanks @melohagan for trying it out. Yeah there's a lot I have to fix with this one, wanted to just put it out there to get feedback from the community. Will get to this!

JeroenvdBurg commented 1 year ago

@JayP718 Is there an option to get a reference to the clicked row record ? I would like to open the record behind the clicked row.

For now I can only find the build in "selected rows" provider. Not the Clicked rows. It would be great if we can do something like {{ PowerTable.ClickedRow }} Thanks in advance!