I am working on BIRT crosstab report. In my report i need to create a global array variable and need to populate the array variable based on the column count of crosstab. I am calculating the columnCount in onRender event of the crosstab and and i need to pass this value to a global function and from the result of the global function need to populate the global variable. Then in some of other crosstab or the same crosstab i need to access this array variable.
Simply I am generating column names A,B,C...Z,AA,AB...etc, based on the column count generated in onRender of an data element in crosstab,i need to populate the array varible by passing this count to the global function and then the function returns the excel names for the number it received as param(like 1-A,2-B,3-C,....26-Z,27-AA...etc) this result is added to the array variable.This array variable will be used in another row of a crosstab of data element onRender, i cant do this with dataset bacause there is a sort function applied in crosstab(to overcome default sort of crosstab).
How can i achieve this, or anyother easy way to handle this?