Databinding with SoListBox
•
Environment: onsite
Some tooltip text!
• 1 minute to read
• 1 minute to read
The HTML code segment below shows how we can configure a SoListBox. This code segment is taken from the SoProjectMemberPickPage.config file. The SoListBox ID is set as a leftListBox. AddMembersDataHandler is the datahandler, which has been bound to the control, to retrieve the data.
<control id="leftListBox" type="SoListBox" position="absolute" top="30px" width="100%" bottom="0px">
<datasource>AddMembersDataHandler.ContactPersonList</datasource>
<config>
<noupdatedatasource>true</noupdatedatasource>
<multiselect>true</multiselect>
<ondblclick>javascript:copySelectedProjectMemberRows(leftListBox_List_ListParser,SelectionMembersArchiveArchiveControl,'contactMDO','projectFuncMDO','desc','selectionMemberHidden');</ondblclick>
</config>
</control>
- When the user clicks the Project button, an Add button is shown in the ProjectMembers archive panel.
- When we click on the Add button, a new window will open: