on 03-13-2006 6:07 AM
Hi,
Please let me know how I can insert a record at a particular row in the non-empty table,say above or below a leadSelected row.
(the API createAndAddelement()inserts a new row at the end of the table)
Awaiting your kind responses.
Regards,
Mahesh
Hi Mahesh,
There's the method:
addElement(int index, IWDNodeElement element)
Which adds an element to the node collection at the given index.
You can pass myNode.getLeadSelection() + or - 1 as the int param to insert an element above or below the leadSelected row.
I hope this helps,
Patrick.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Mahesh,
Use the method
wdContext.node<<i>yourNode</i>>addElement(int arg0, IWDNodeElement arg1)
to add the element at the required index. Assign the required row number to <b><i>arg0</i></b>.
Warm Regards,
Bala
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 | |
7 | |
6 | |
5 | |
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.