Double Click in DataTable Row

UI Components for Vue
Post Reply
FairKing
Posts: 3
Joined: 23 Oct 2019, 15:14

23 Oct 2019, 15:21

Anyone knows how to attach doubleclick to datatable rows?
My goal is to have "select row on click" and "open details on double click".
At the moment I can only do "select row on click".

Appreciate any help
Last edited by FairKing on 24 Oct 2019, 11:18, edited 1 time in total.

cagatay.civici
Prime
Posts: 18146
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

24 Oct 2019, 09:31

It is not generally suggested to have click and double click on the same element from UX point of view however we can do it with a callback, please create a request at github and we'll do it for next release.

FairKing
Posts: 3
Joined: 23 Oct 2019, 15:14

24 Oct 2019, 11:19

I see. Thanks for advice. I think you are right. Will do a different approach. Multiselect within checkboxes and click row to open details.
Regards.

cagatay.civici
Prime
Posts: 18146
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

20 Nov 2019, 11:58

beta.14 brings row-click event that you may use as well.

FairKing
Posts: 3
Joined: 23 Oct 2019, 15:14

20 Nov 2019, 13:18

Very Thanks. Will try.

Post Reply

Return to “PrimeVue”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 0 guests