Hi groovyguy,
thanks for the tip. I solved various issues with a similar approach but was hoping for some groovy command being able to determine the amount of rows generated. Well, this approach will certainly work as well.
Could you just tell me how you generate several rows in the grid dataSource (which I assume is the dataSource you named GroovyDataSource above?).
I know I can write a single value to a DataSourceProperty with
result["DataSourceProperty"] = someValue
but how do I generate several lines? Can I simply use the index operator like
result["DataSourceProperty"][0] = someValue[0]
result["DataSourceProperty"][1] = someValue[1]
result["DataSourceProperty"][2] = someValue[2]
Thanks a lot for the quick help!
Cheers,
Lennart