Adding values to ItemListBox
I have requirement like this,
I want to place an ItemListBox in my view,
Could you please suggesst me some steps to add values in the ItemListBox.
Then how to select single or muliple values.
Follow the procedure:
1. Create a Context Node say Vn_List and two attribute within say Va_Name and say Va_EmpNo.
2. Insert UI element ItemListBox in your view and bind the DATASOURCE to the node, Text to Va_EmpNo and DESCRIPTION to Va_Name. Let VISIBLE ITEM to be 5 and width to 250px.
3. Now in case you want to add item to this list , simply add elements to the node Vn_List setting the attributes within. In actual scenarios, usually, you pick up values from any other node displayed as table/itemlistbox and then create new element in thisVn_List Node corresponding to the selected value to be added into the list.