on 03-18-2007 12:59 PM
Hi All,
Can you pls explain me how to create simple value selector?
Regards,
TG
Hi Thomas,
DropDownByKey provides static data in DropDown and DropDownByIndex makes it dynamic.
<b>DropDownByKey:</b> Is used when u want to use data dictionary type.For this create a dictionary of simple type in the dictionary.
Creating the Simple Type:
Ur project>dictionaries>Data Types-->Simple Types right click and select Create Simple Type.
After entering the name and package, open that and click on "enumeration" tab at the bottom of the same. Now add the Value and Description to be displayed.The created simple type can be used for DropDownByKey.
Binding it to the UI element:
Now create a valueattribute and change the type to the dictionary type(created simple type). Finally bind the DropDownByKey UI element to the value attribute.
<b>DropDownByIndex: </b>Is used while we have to get the data from the database. Here we directly bind the DropDownByIndex UI element to the context node(attribute).
Regards,
Jhansi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Chk this link..hope it of some help
regards,
prasy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Corresponding tutorial
https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/91c5e990-0201-0010-4981-9b2075751d... [original link is broken]
good luck
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
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.