cancel
Showing results for 
Search instead for 
Did you mean: 

Access Analysis_Item via javascript (WAD 7.0)

Former Member
0 Kudos

Hi All,

I need to access 0Analysis_Item object via java script due to my client requested hiding of some columns dynamically according to entered variables.

I got some sample codes but no luck.

Are there anyone have succes on accessing ANALYSIS_ITEM object via java script.

Regards

Alkan

Edited by: Alkan Gencalp on Sep 1, 2008 4:09 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Any suggestion?

pavel_afanasiev
Contributor
0 Kudos

are you using Excel or WAD?

Former Member
0 Kudos

Hi,

WAD 7.0

Thanks

pavel_afanasiev
Contributor
0 Kudos

I use the following code to get the value of a static analysis grid cell:

document.getElementById("NAME_OF_ELEMENT").firstChild.data

you can get the NAME_OF_ELEMENT by running the analysis grid and then looking at the page source.

This function will not allow you to adjust what is "shown" dynamically though - maybe you can create multiple analysis grids and determine their visibility through javascript?