cancel
Showing results for 
Search instead for 
Did you mean: 

Help!!

Former Member
0 Kudos

Hi everybody

I create a table of UI ,but i want to add dropdown in the table.

For example i click a cell ,it display a dropdown, i can choose i want value.

Please tell me how to do

Thanks

Best Regard

Accepted Solutions (1)

Accepted Solutions (1)

former_member192434
Active Contributor
0 Kudos

Hi Yan,

Follow this

Go to outline of you view->Right Click>Apply Templete->Select Table>Next->Select Require Field>Next--->Here change your Editor(Select DropDwonByIndex of DropDwonBykey)

Hope will solve the problem.

Thanks

Anup

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

-> In case you have created a table.

-> Remove Table column.

-> Insert Table Cell Editor.

-> From table Cell Editor Choose Dropdown by key UI Element.

-> Now bind this UI Element with the context.

-> The Context type should be chnged to the Simple type.

for that Go to Dictionary -> Simple type -> Create -> fill the value in the enumeration and save.

I hope this way you would be able to create table with drop down in between.

Thanx.

Edited by: saurav mago on Oct 30, 2008 10:00 AM

Former Member
0 Kudos

Hi li,

Step 1:

Create a simple type and keep some Enumeration value.

Go to the Context node, that is bind with the table UI element. Select an element which you need to be bind with Dropdown UI element, and change its type to the simple type that you have created.

Step 2:

Remove the table Column and insert Table Cell Editor, from there choose the DropDownbyKey UI element and bind the Context element with it.

Regards

Vinod V

Former Member
0 Kudos

Hi,

You can have any type of UI in a column of a table. We have many blogs and articles on this in SDN like

[https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/7436] [original link is broken] [original link is broken] [original link is broken];

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c092333b-0601-0010-e7af-8c227fb6d052]

[;

Regards

Raghu

Former Member
0 Kudos

Hi,

if you already created table then go to TableColumn where you want to add Dropdown.

remove the existing TableCellEditor.

and right click on the TableColumn select InsertTableCellEditor from the options choose DropDown.

bind the attribute to it.

hope it clear!

Regards,

ramesh