Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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:Exception in BIRT engine logged
Goto Forum:

Current Time: Thu Jul 25 09:54:07 GMT 2024

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

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

Back to the top