Skip to Content
avatar image
Former Member

Access Analysis_Item via javascript (WAD 7.0)

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 02, 2008 at 07:08 AM

    Any suggestion?

    Add comment
    10|10000 characters needed characters exceeded

    • 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?