DataTable RowClick Except Some Cells

UI Components for React
Post Reply
turkceng
Posts: 7
Joined: 19 Sep 2019, 22:47

22 Jun 2021, 14:47

Hi,

Is there any built-in functionality to prevent onRowClick or onSelectionChange events for some cells in DataTable.

Thanks.

mert.sincan
Posts: 4754
Joined: 29 Jun 2013, 12:38

28 Jun 2021, 09:25

Hi,

I think this link can help to you;
https://codesandbox.io/s/boring-blackbu ... ionDemo.js

You can use pointer-events:none feature of CSS. Please check index.css file in the above link.

Best Regards,

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests