Javascript function not getting call when embedded in link type column

Hi All,
I’m new to DHMLTX, in one of my application I’ve a grid which has one column type link to execute some functionality whenever user click on column value, in one case user can see file names in column and when click on file name it will execute a function to open file but not sure why javascript function is not getting call instead its going to the default option. Can you please help me here.

Could you please, provide your using code snippet or a complete demo/demo link, where the problem can be reconstructed locally.