'Is there a way to specify a value in tooltipField for some conditions in column definitions to display on mouse hover in ReactJs

I have the below column definition.

Columns.push ({
   headerName : "keyName"
   field : "event"
   tooltipField :"event"
})

The tooltipField is provided with the same as field name and displaying the respective value for each row on mouse hover.

Now I have a requirement on certain condition I need to show a specific value instead of the column value . Is there any way of doing it here?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source