on 07-21-2008 1:13 PM
Hi experts!!
I am trying to create a table UI element with all columns as input fields.
While running the application, i can only enter values for one row.
I have set the selection mode to multi, but still no difference..
Any ideas???
Thanx in advance!!!!
Ok!! I understand both your replies..
But what if i do not know at design time the exact number of elements added???
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you all for your replies!!!
Problem solved!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
check the Armin's suggestions in this thread
https://www.sdn.sap.com/irj/sdn/thread?threadID=59210
if the node is employee under which you have name, surname and age.... create as many elements of inputfields as you want. if you want 5 rows, and you have 3 elements so 5*3=15 times you have to loop
for (int i = 0; i < 15; ++i)
{
IEmployeesElement e = wdContext.nodeEmployees().createEmployeesElement();
wdContext.nodeEmployees().addElement(e);
}
PradeeP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are 3 elements: name, surname, age.
I can enter those elements only for one line(row). (e.g. Iria Koutsogianni 23) i try to select another line to enter values to, but i cannot.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
These (name, surname, age) are attributes not elements.
My guess that you have only one element which is predefined (because of the cardinality was set to 1..n).
In order to add rows you need to add an action (button or toolbar button) which adds a new row (element) to the table (node).
Aviad
Actually it is set to 1..n
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Is the node which the table is based on is set to cardinality 0..n?
Aviad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.