cancel
Showing results for 
Search instead for 
Did you mean: 

How to Filter the dropdown column in a table

Former Member
0 Kudos

Hello,

I am using a table & sucessfully filtering all other columns expect the column with dropdown values.

How can i filter a dropdown column in a table?

i followed the procedure mentioned in the below link, but it didn't explain abt dropdown columns.

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f024364b-3086-2b10-b2be-c0ed7d33...

NW 2004s

NWDS 7.0.13

Thanks

Maha

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can get a drop down for table filter

IProposalList proposalsCity = wdContext.nodeFilter().getNodeInfo()

.getAttribute("aaa").getModifiableSimpleType()

.getSVServices().getProposals();

proposalsCity.add("bbb");

proposalsCity.add("ccc");

proposalsCity.add("ddd");

proposalsCity.add("eee");

proposalsCity.add("fff");

proposalsCity.add("ggg");

where "aaa" is the column for which you wanted the drop down.Filter-is the name of the filter node

Refer this article,

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60d5b593-ba83-2910-28a9-a7a7c7f5...

Regards,

Sunaina Reddy t

Former Member
0 Kudos

Hello Sunaina Reddy,

The link didn't explain clearly regarding dropdowns.

1) what is the type of attribute "IconLegend" & where we putting data into it.

2) do we need to put any values in IconLegend (where we are initializing values in it).

i have a dropdown with below values, how can i archive the filtering for dropdowns

key:"Hyd" -


Value: "Charminar"

key:"Mum-- Value: "Bollywood"

key:"Agr" -


Value: "Taj mahal".

In the table, the column will be an dropdown displaying only values "Charminar", "bollywood", "Taj Mahal"

How can i achive dropdown functionality in the table.

Thanks

Maha

Edited by: Maha Hussain on Aug 2, 2009 2:11 PM

Edited by: Maha Hussain on Aug 3, 2009 10:02 AM

Former Member
0 Kudos

Hi , m also facing same problem with dropdown by key in table. plz let me know how did u resolved this problem.

Regards

Kavita

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Maha

Please check this blog link

/people/peter.vignet/blog/2007/01/03/generic-web-dynpro-java-table-filter

Also check this forume link

Hope with help of link you solve your problem

Regards

Ruturaj