Skip to Content
author's profile photo
Former Member

Webitem CHECKBOX using structure

Hi all!

In a webtemplate I use item CHECKBOX with the structure of a data provider (cube) and item TABLE with that data provider.

As the result I get a checkbox for every key figure of the cube. No checkbox is selected and all key figures in the table are displayed.

I want to do two things:

- initially mark some checkboxes (so only the corresponding key figures are displayed)

- hide some checkboxes (in checked state) to show the corresponding key figures always

Thanks in advance and best regards,

Benedikt

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Jul 19, 2004 at 03:18 PM

    Hi,

    (1) in the query designer change the options of the keyfigures to 'Hide (can be shown)' for those keyfigures which shouldn't be displayed in the initial view or create a view where keyfigures are already filtered

    (2) If you want to do this, you can't use the web Item. Instead you have to program your own Checkbox within HTML for filtering the key figures. Or you have a look on the coding which is generated by the BW system and create a javascript function to set the style of the sourrounding <td> tag to non-display via Javascript. But remember, that the generation of the HTML may change. There's no official API to do this.

    Heike

    Add comment
    10|10000 characters needed characters exceeded