on 04-09-2008 6:17 PM
Hello,
Is it possible to have a table in my Adobe print form (ABAP) with a dynamic number of columns? My requirement is to print columns with data by year, but the number of years (and thereby the number of columns) will be selected by the user at runtime.
Cheers.
Hi Mike,
Yes this is possible, using the feature of adding subform dynamically.
The structure of my form is like this, All the Subforms and page are Flowed:
Page1
--> NumericField1
--> Section1(Subform Binding: None, Repeat: No)
--> Item(Subform Binding: None, Repeat: Yes, MinCount = 1)
--> FirstName
--> LastName
--> Button1
I have written following code on the click of the Button1.
var count = this.parent.parent.parent.NumericField1.rawValue;
for ( var i=0; i<count; i++ ){
xfa.resolveNode("Section1.Item").instanceManager.addInstance(1);
}
Hope this helps you.
With regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.