PDF table

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

sudjain
Ebase User
Posts: 8
Joined: Fri Jul 24, 2009 4:02 am

PDF table

#1

Postby sudjain » Wed Jun 30, 2010 4:02 pm

I have a table in the form with an attribute 'Table rows are selectable',user can select as many rows as possible,now in the PDF i am referring the same table name ,however i am not getting the checked rows column in the PDF?
Can any one help how to display the checked column in the PDF?
0 x

User avatar
Wai
Moderator
Moderator
Posts: 165
Joined: Wed Sep 12, 2007 9:04 am
Location: Sandy, UK
Contact:

#2

Postby Wai » Fri Jul 02, 2010 8:58 am

Hi,
The Select column does not get displayed in the Print PDF.

What you could do is create your own select column instead of using the 'Table rows are selectable' option. Set your own column to be type boolean and display as checkbox.

You can then add the column to the table in the Print design. However, you will still not see the checkbox, but it will give you a tick in the column if it was selected on the form.

Hope that helps,

Thanks
0 x

Donna111
Ebase User
Posts: 1
Joined: Wed Sep 18, 2013 9:12 am

#3

Postby Donna111 » Sun Sep 22, 2013 1:35 am

Hello.
Although i have never encountered the same question with you,I'd like to suggest you a pdf processing control,which can process any pdf issues.You can have a try.Hope to help you.
0 x

Steve
Moderator
Moderator
Posts: 421
Joined: Fri Sep 07, 2007 3:44 pm
Location: Sandy, UK
Contact:

#4

Postby Steve » Mon Sep 23, 2013 9:08 am

Hi Joe,

If you are using Print Forms, then you cannot add select and delete columns to the PDF page. As Wai has suggested you would have to add your own columns.

But if you were to print the page using the outputpage option. This outputs the content of the page exactly as designed. So the select and delete columns will be added to the PDF as well. This can be invoked by:

FPL

Code: Select all

outputpage &#91;as pdf&#93; &#91;save &#91;<file location>&#93; &#93; &#91;nodisplay&#93; &#91;popup &#91;<target window>&#93; | inline&#93; &#91;report&#93; &#91;all | page name list..&#93; 
or

JavaScript

Code: Select all

var opts = new PdfOptions&#40;&#41;;
opts.display = true;
opts.save = true;
opts.filePath = "C&#58;/temp/pdf123.pdf";
opts.pages = &#91;pages.PAGE_2, pages.PAGE_4&#93;;
var fileName = form.generatePdf&#40;opts&#41;;
or to just display the current page as a PDF:

Code: Select all

 
form.generatePdf&#40;&#41;;
Kind regards

Steve
0 x


Who is online

Users browsing this forum: No registered users and 3 guests