We have changed our pricing. Flexmonster Software License Agreement was also updated (list of changes)

Hyperlink to javascript function

Closed
Sri Thirumalai asked 22 hours ago

Hello support,

    Is it possible to put a javascript function in the hyperlink?

https://www.flexmonster.com/question/configuring-hyperlinks-in-pivot-table/

works fine, but it takes me to a website, I want a javascript function in the same page to be called.

 

Thanks

Sri

2 answers

Public
Maksym Diachenko Maksym Diachenko Flexmonster 21 hours ago

Hello, Sri!

Thank you for reaching out to us.

Flexmonster supports adding a custom JavaScript function triggered upon clicking a cell. We recommend using the cellclick event, which is triggered when the cell is clicked on the grid. The cell object, containing the information about the cell, is passed to the event handler, allowing it to easily adjust the function logic depending on the data from the cell.

Please let us know if this solution works for you.

Best Regards,
Maksym

Public
Sri Thirumalai 19 hours ago

Thank you for the quick response. This idea will work for me.

This question is now closed