on 07-16-2008 10:23 AM
Hi,
I have created a Table and put input fields.
I am able to insert data in the first row.
can you please tell me that how to insert data in the following rows??
Regards
Hi,
Use the following code to create multiple elements, you can paste this code in an action handler of a button
//Here the nodeName is "Orders" Change this to that of yours
IWDNodeElement nodeElement = wdContext.nodeOrders().createElement();
wdContext.nodeOrders().addElement(nodeElement);
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can directly enter (type in) values if you created table, binded data source, inserted TableCellEditor as InputField.
data access is the same as if there is no InputField.
you can get those elements in the current lead selection
wdContext.current<TableNode>Element().getField1();
.
.
hints:
before typing in values, you have to create node elements
wdContext.node<TableNode>().addElement( wdContext.create<TableNode>Element());
hope you get the idea
nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
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.