Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

fdelacal
Valued Contributor

open specific chart in container.

I have 3 graph in Container ,

when i open this container open in the last select graph,

there is any option to open in specific graph always in this specif container.

I atacha a qvw.

1 Solution

Accepted Solutions
Not applicable

Re: open specific chart in container.

Maybe you can  save a bookmark with the state of the sheet (and not the selection) and trigger to apply the bookmark each ime you select the sheet

View solution in original post

6 Replies
Not applicable

Re: open specific chart in container.

If you want to use buttons and macros, you have a property of a container to set which graph you want to be active :

you can use somth similar to this piece of code (this is to know which tab is selected) :

Set ContainerObj= ActiveDocument.GetSheetObject("CT01") '

           

              set ContProp=ContainerObj.GetProperties               'get index of currently active tab/object of container

              activeIndex= ContProp.SingleObjectActiveIndex

                  if activeIndex=0 then

                    ...

fdelacal
Valued Contributor

Re: open specific chart in container.

i can´t use macros, that is no a solution for my boss.

when i change sheet, i need open specif chart inside the contendor. no the last selection in that contendor.

You now that ??

Thanks,

Not applicable

Re: open specific chart in container.

Maybe you can  save a bookmark with the state of the sheet (and not the selection) and trigger to apply the bookmark each ime you select the sheet

View solution in original post

fdelacal
Valued Contributor

Re: open specific chart in container.

I TRIED TO DO IT, AND DON´T WORK, IN THE SPECIFIC SHEET IT WORKS, BUT, IN TRIGGER ON ACTIVE SHEET NOT CHANGE.

THANKS FOR THE SUGGESTION!

ANY BODY TELL ME SOMETHING MORE TO SOLVE MY PROBLEM??

THANKS

Not applicable

Re: open specific chart in container.

you have been careful to put the ID of the bookmark ? and not the name ? I have made that mistake myself

fdelacal
Valued Contributor

Re: open specific chart in container.

YES, NOW WORK IT,

THANKS,

10 POINT FOR YOU!