1

Given I have a simple List that I pass to a table and I'd like to do some calculation on the list elements so I wrote a scriptlet for it but I have to pass the current element to it. Can I do that?

Alex K
  • 22,315
  • 19
  • 108
  • 236
apreg
  • 637
  • 8
  • 18
  • Possible duplicate of [JRBeanCollectionDataSource: How to show data from the java.util.List from JavaBean?](http://stackoverflow.com/questions/12209300/jrbeancollectiondatasource-how-to-show-data-from-the-java-util-list-from-javabe) – Alex K Jul 03 '16 at 20:37

1 Answers1

1

Ok, I figured it out thanks to this post. Basically you just have to create a field with name _THIS on the dataset of the table.

apreg
  • 637
  • 8
  • 18