text-decoration when exporting to PDF

Questionstext-decoration when exporting to PDF
Alberto asked 7 years ago

Hi,

I've a cell with a link to a fancybox. I remove the underline decoration style in gridview with:

style='text-decoration:none'

But, when exports to PDF, the underline appears.

Thanks

3 Answers
Abu Ghufran answered 7 years ago

You can 2 columns with same field, one for display, one for export.

For first set export=true, hidden=true with no fancy box link,
and other with export=false hidden=false with fancy box link.

Alberto answered 7 years ago

The columns will have diferent names?

$col["name"] = "col_display";
$col["export"]=false;
$col["hidden"]=false;
$cols[] = $col;

$col["name"]="col_export";
$col["export"]=true;
$col["hidden"]=true;
$cols[] = $col;

And in sql select:

"….. tablecol as col_display, tablecol as col_export…"

Ok? Or there is another way to do it?

Thanks.

Abu Ghufran answered 7 years ago

Yes, thats correct.

Your Answer

19 + 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?