简体   繁体   中英

BIRT dynamic image url - cannot get access to data columns

I am trying to display different images based on data returned. I am running into the following issues

  1. DataSet is not available on the image control for me to make decisions based on the column information. I am using a grid layout (no tables)... Think of a letter

  2. I tried to create report level variables and assign it the value from dataset during the onFetch event. However, that assignment does not happen.

I have tried both

rptvar = dataSetRow["colname"]
rptvar = Row["colname"]

I have confirmed that onFetch event does get called using Javascript debugging (see http://www.lebirtexpert.com/wordpress/2010/08/ )

Please let me know how to access dataset columns to dynamically create the image URI

There's a post on the BIRT world blog that should be very useful to you: http://birtworld.blogspot.com/2010/09/birt-image-report-item.html

Kudos to Mr. Weathersby!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM