on 02-27-2008 11:48 AM
Hello,
Any one used row repeter UI element. how do we use this in our application.
I have one case can we use it in this.
I need to add my input feilds in runtime.
means I have a input feild on my screen and a add button when I press add button,
I should be able to get another input feild in next line and i should be able to input values,
This should happen n times depending on requirement.
-
Thanks & Regards,
Ajay
hi, You can try doin this. First add a Row repeater element . Now Bind its Datsource property to node( cardinality shud be multiple i.e 1..n or 0..n) in which u want to pass the data. Add input field ui element to Row repeater and bind it primary property i.e value to attribute of ur node . Now create an add button . In method of add button write code to add a new element to ur node.I think this will solve ur problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ajay.........
in that case you need to go for dynamic programming..
you have the class cl_wd_input_field which as a method new_input_field which adds an input field....
make sure that you cahnge the name of it every time you add.... initially try with only 1 input field.... you can get an idea of it when you work.
---regards,
alex b justin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.