on 06-30-2005 2:53 AM
Hello All,
Can someone kindly advise on how can I achieve the above ? Everytime the table is created, the fields are not enabled for entry . I am trying to create a ytabel that consists of 8 columns. Of which 2 of them are date fields and another 2 of them are dropdown listboxes (by key).
Thank you very much.
from
Kwok Wei
Hi,
Conside you have Valuenode which is bound to table and valueattributtes bound to Tablecolumns.
Create a elements of the Nodetype.
Ex: IPrivate<<ViewName>>.INodeElement ele=wdContext.create<Node>Element();
ele.set<<Attrib1>>(Value1);
ele.set<<Attrib2>>(Value1);
ele.set<<Attrib3>>(Value1);
ele.set<<Attrib4>>(Value1);
ele.set<<Attrib5>>(Value1);
ele.set<<Attrib6>>(Value1);
ele.set<<Attrib7>>(Value1);
ele.set<<Attrib8>>(Value1);
wdContext.node<<NodeName>>.addElement(ele);
The above statements should be in a loop so that it will add 5 rows in Table. )
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If i am not wrong cardinality can be 0..n or 1..n.
If it is 1..n then it will add a blank row in your table automatically.
Please try this and correct me if i am worng
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
26 | |
10 | |
10 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.