URL links are blank

QuestionsURL links are blank
Ed asked 9 years ago

Can anyone tell me why all of my links are blank? I am now just trying to get a static link to show up. No matter what, if I set a value in col["link"] then the
entire column goes blank.

Here is the snippet from the code for this column;

$col = array();
$col["title"] = "Destination";
$col["name"] = "destination";
$col["width"] = "100";
$col["link"] = "http://localhost/";
$col["linkoptions"] = "target='_blank'";
$cols[] = $col;

2 Answers
Ed answered 9 years ago

Just an update.
I am pretty sure the problem only exists when using a local data source.

Abu Ghufran answered 9 years ago

You can have html <a>…</a> link in array data value.

$data[$i]['more_options'] = "<a ….></a>";

e.g.
http://phpgrid.org/demo/demos/loading/load-array.phps

Your Answer

17 + 16 =

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?