how to write javascript method when column type is link?

I set a column type link, when click willful cell of the column,need pop up a new page window, but now it doesn’t work.I debug this problem some days.

how do i write correct javascript?thank you

You can use next syntax

    Text ^javascript:customCode()^_self