Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
birt engine
birtq
hi,
i am having a problem while using birt engine to display and excute a filter after report has been run....
also...how do i have a combo box on my report page
how to go about it....
is there any step by step example available for that
is the following code can be of some help.
importPackage(Packages.org.eclipse.birt.report.model.api.elements);
ModuleHandle moduleHandle =reportContext.getReportRunnable().getDesignHandle().getModuleHandle();
DataSetHandle dsHandle = moduleHandle.findDataSet("sortquery");
try
{
FilterCondition fc = StructureFactory.createFilterCond();
fc.setExpr("row["CITY"]");
fc.setOperator(DesignChoiceConstants.FILTER_OPERATOR_EQ);
fc.setValue1(""NYC"");
dsHandle.addFilter(fc);
}
Find more posts tagged with
Comments
birtq
Hi,
its done!!!!! :-)
Regards,
birtq
devp
Please post the solution if possible. I am looking for somewhat similar stuff.
Thanks and Best Regards
devp
birtq
Hi,
yes Sure.
Please find it as an attachment.
Regards,
birtq
devp
Thank You !!!
cheers
devp