["link"] and return undefined

Questions["link"] and return undefined
krutoiuleshii asked 11 years ago

//invoices.invoice_number
$col = array();
$col["title"] = "Payable"; // caption of column
$col["name"] = "invoice_number";
$col["dbname"] = "invoices.invoice_number";
$col["fixed"]=true;
$col["width"] = "50";
$col["hidden"] = false; // hide column by default
$col["editable"]=true;
$col["search"] = true; // this column is not searchable
$col["link"] = "http://{invoice_number}";
$cols[] = $col;

Please help

8 Answers
Abu Ghufran answered 11 years ago

It's resolved in latest build (licensed version)

Refer external-link demo for working sample.

Yevsey answered 11 years ago

I am using the latest version but this is still showing up.

krutoiuleshii answered 11 years ago

the extrernal-link demo is not working either btw. what's the latest version. the one i downloaded is 1.5

krutoiuleshii answered 11 years ago

using mySQL btw.

Abu Ghufran answered 11 years ago

I've emailed you updated lib and working demo.

krutoiuleshii answered 11 years ago

Abu, managed to get it to work, however using the link breaks the on_update. But if I use default instead, it works

krutoiuleshii answered 11 years ago

Thanks You for a quick response.

Lars Erik Løvhaug answered 10 years ago

This helped for me:

$col["default"] = "Link text";

Your Answer

0 + 11 =

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?