on 10-22-2008 5:41 PM
Hi,
I have a requirement where I have to display the values(getting from Array List) in ItemListBox UI Element. can any one help me on this.
Regards,
Sandeep
Example: Say the context node used to bind the list items is named "Items" and has an attribute "text".
List values = new ArrayList();
values.add("First");
values.add("Second");
for (int i = 0; i < values.size(); ++i)
{
IItemsElement e = wdContext.nodeItems().createAndAddItemsElement();
e.setText(values.get(i));
}
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
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.