The problem of Components
Re: The problem of Components
how to use the drill down function in Stimulsoft Reports.Java ? I don't find this function in the web designer.
Re: The problem of Components
Hello,
Please see the Interactive Reports category on our online Demo:
http://java.stimulsoft.com/?report=Dril ... OfProducts
Thank you.
Please see the Interactive Reports category on our online Demo:
http://java.stimulsoft.com/?report=Dril ... OfProducts
Thank you.
- Attachments
-
- Capture.PNG (82.34 KiB) Viewed 2382 times
Re: The problem of Components
Hello,how to show my function on the list of "fx function"
Re: The problem of Components
Hello,
Unfortunately, it is not possible to add your own function in the dictionary.
You can use the additional code to add additional function in the report:
viewtopic.php?f=19&t=40284
Thank you.
Unfortunately, it is not possible to add your own function in the dictionary.
You can use the additional code to add additional function in the report:
Code: Select all
public StiReport render(StiReport report) throws IOException, StiException {
report.getCustomFunctions().add(new StiCustomFunction() {
public Object invoke(List<Object> args) {
return ((String) args.get(0)).substring(((Long) args.get(1)).intValue(), ((Long) args.get(2)).intValue());
}
@SuppressWarnings({ "rawtypes", "unchecked" })
public List<Class> getParametersList() {
return new ArrayList<Class>(Arrays.asList(String.class, Long.class, Long.class));
}
public String getFunctionName() {
return "subStr";
}
});
return super.render(report);
}
Thank you.