Change the target of th table hyperlinks to open in a new window

One of the most frequently asked question is how to make a hyperlink to open in a new window or tab. Tabulizer does not have a built-in support for that, but you can use the modification function sethreftarget that is described in this tutorial. It takes a single argument which is the hyperlink target that can be one of the following:

Value Description
_blank Opens the linked document in a new window or tab
_self Opens the linked document in the same frame as it was clicked (this is default)
_parent Opens the linked document in the parent frame
_top Opens the linked document in the full body of the window
framename Opens the linked document in a named frame

If you don't specify any argument value, it will be set to _blank

The modification function can be applied to the whole table, or specific rows and columns. In the example below we are applying it to thw whole table, by adding a simple table rule:

Before using the modification function, you need to import it into your system. Click here to download the sample archive. You can import it like any other ruleset archive.