column "link" parameter

Questionscolumn "link" parameter
Jim Bell asked 8 years ago

I have a link set up on 1 column
The link is set up like:
"www.mysite.com/PDF_Files/{Docs}"

The contents of this column is "My Pdf Doc 1"

The url generated is
"www.mysite.com/PDF_Files/My+Pdf+Doc+1"

This give me a "not found" on the web site.

I need the following

"www.mysite.com/PDF_Files/My%20Pdf%20Doc%201"

Ie, I need to grid code to create urls with "%20" substituted for spaces instead of "+"

Thanks

3 Answers
Abu Ghufran answered 8 years ago

Instead of $col["link"] … you can set $col["default"]

e.g.
$col = array();
$col["title"] = "Client";
$col["name"] = "name";
$col["width"] = "100";
$col["default"] = "<a href='http://google.com/?id={name}'>{name}</a>";

Jim Bell answered 8 years ago

Is this supported in the free version? I can't get it to work for me using the free version. The "default" key seems to be ignored.

Abu Ghufran answered 8 years ago

Yes, it's not supported in free version.
Check your email.

Your Answer

4 + 13 =

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?