how can i know the paage number of a row in a table?

idanp

27-07-2015

i need to change a caption a TextField once the page has changed. if i do it by using the xfa.layout.page - i can only do it in the layout:ready section. that causes the part of the TextField that is on the next page to not work propaly and lose it's background color.

Any thoughts??

Idan

Accepted Solutions (0)

Answers (4)

Answers (4)

idanp

02-08-2015

the problem is it still does the numbering of the pages only after the layout is allready "layed". therefor even in the calculate event you cannt change the form, without having troubles with the javascript messing the design.

thanks anyway

Magus069

MVP

01-08-2015

Hi there,

To be able to retrieve the number of the page where your row is, use this function in the calculate event of the field wanted!

xfa.layout.page(this);

Hope this help!