You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expand DataTable actions by adding onClick prop which will enable adding custom actions when specific row in table is clicked.
Current behaviour
DataTable component currently does not have on click functionality but onDoubleClick action is enabled.
Wanted behaviour
onClick prop should be function that has parameter of type T (entity of clicked row in table) and returns void. Function should be called when user clicks on table row.
The text was updated successfully, but these errors were encountered:
Basic information
Enhancement description
Expand
DataTable
actions by addingonClick
prop which will enable adding custom actions when specific row in table is clicked.Current behaviour
DataTable
component currently does not have on click functionality butonDoubleClick
action is enabled.Wanted behaviour
onClick
prop should be function that has parameter of typeT
(entity of clicked row in table) and returnsvoid
. Function should be called when user clicks on table row.The text was updated successfully, but these errors were encountered: