cancel
Showing results for 
Search instead for 
Did you mean: 

DropDown in table filter

Former Member
0 Kudos

Hi,

is it possible to use a dropdown menu in a table filter?

Regards

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("lob").getModifiableSimpleType()

.getSVServices().getProposals();

proposalsCity.add("Corportate");

proposalsCity.add("ERS");

proposalsCity.add("FS");

proposalsCity.add("IMS");

proposalsCity.add("Cisco");

proposalsCity.add("LOB5");

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

Regards,

Sudhir

Edited by: Sudhir Gorantla on Apr 15, 2008 2:25 PM

Answers (4)

Answers (4)

Former Member
0 Kudos
Former Member
0 Kudos

As far as I know this is not possible with the table filter fields. Of course, you can provide your own row of filter fields outside of the table and then you get the full functionality of the standard input field or use other UI elements for filtering.

Armin

Former Member
0 Kudos

Hi,

Try with this,,

IWDAttributeInfo attrinfo = wdContext.nodeEmployee().getNodeInfo().getAttribute("country");

IModifiableSimpleValueSet valSet = attrinfo .getModifiableSimpleType()

.getSVServices()

.getModifiableSimpleValueSet();

valSet.put("in","India");

valSet.put("us","United States");

valSet.put("uk","United Kingdom");

Thanks & Regards

Ramesh

Former Member
0 Kudos

Hi,

I think IProposalList is available since NW CE, I use NW2004s, so I tried following, but it doesn´t work:

ISimpleTypeModifiable myType = wdThis.wdGetAPI().getContext().getModifiableTypeOf("CheckAudTableFilter.System_Sid");

IModifiableSimpleValueSet values = myType.getSVServices().getModifiableSimpleValueSet();

values.clear();

values.put("1", "a");

values.put("2", "b");

values.put("3", "c");

Is it possible in NW2004s. If yes, how?