Open Hyperlink in new window/tab

QuestionsOpen Hyperlink in new window/tab
NoobMaster69 asked 7 months ago

Hi Abu.


I was wondering if you can help me.

$col = array();
$col[“title”] = “TITLE”;
$col[“name”] = “titlebd”;
$col[“width”] = “10”;
$col[“editable”] = true;
$col[“default”] = “Capture”;
$col[“align”] = “center”;
$liga = “file_to_open.php?id_file_to_open={id}”;
$col[“link”] = $liga;
$col[“search”] = false;

$cols[] = $col;


I would like to know how to open the new grid link on a new tab of the browser.



1 Answers
Abu Ghufran Staff answered 7 months ago

Pasting from docs:

Set:  $col[“linkoptions”] = “target=’_blank'”;

Abu Ghufran - Dev Team
Grid 4 PHP Framework
Your Answer

2 + 17 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?