Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » setting filter in javascript
setting filter in javascript [message #1022801] Fri, 22 March 2013 14:46
Daniel W is currently offline Daniel WFriend
Messages: 8
Registered: March 2013
Junior Member

currently I'm trying to access a filter of a dataset and update the value list.

I'm already able to access it like that:

var dshandle = reportContext.getDesignHandle().findDataSet("WorkOrders");
var fiterator = dshandle.filtersIterator();

while( fiterator.hasNext() )
	filterHandle =;
	expr = filterHandle.getValue1ExpressionList();	
	valueList = expr.getListValue();

Now I want to overwrite the valueList with


But I don't know how. Since I don't now how to specify the right type in javascript.

When I do something like that:
var customFilter = new Array("unknown", "within specification", "out of specification");


I get an exception because the method needs an other type (

But how can I create this kind of type in javascript??!
Previous Topic:Using POST to pass parameters to birt instead GET
Next Topic:Raport don't work
Goto Forum:

Current Time: Sat Oct 10 16:21:12 GMT 2015

Powered by FUDForum. Page generated in 0.11692 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software