How do I hide and show the detail column icon based on a value?

How do I hide and show the detail column icon based on a value?

hilalhbhilalhb Posts: 1Questions: 1Answers: 0

Hi,
I am using a datatable. Columns have detail.
But I want to show detail by a value or hide the detail part. How can I do it?
I'm waiting for your help.
Thanks.

Answers

  • allanallan Posts: 63,237Questions: 1Answers: 10,418 Site admin

    You would need to conditionally add the class that is used to control the details button through a rowCallback function.

    Allan

Sign In or Register to comment.