DataTable: onRowClick

UI Components for Angular
Post Reply
CC84
Posts: 69
Joined: 11 Mar 2016, 09:32

20 Apr 2016, 14:19

Is there an option to catch a RowClick. I first had enabled Selection, but it's hard to keep Selection in Sync, when table is lazy and can change at any time. So i disabled Selection and used onRowDblClick, but doubleclicks won't work on IOS Devices. So easiest way would be an onRowClick event.

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

20 Apr 2016, 14:31

There is onRowSelect but it needs selectionMode, it is easy to implement so please create a request and we'll do it for beta4.

CC84
Posts: 69
Joined: 11 Mar 2016, 09:32

20 Apr 2016, 14:37

Just tried it out. Even with selectionMode=none onRowSelect fires as expected. So forget about this.

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

21 Apr 2016, 08:43

Cool, we'll still do it though :)

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests