Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Now Live: Qlik Sense SaaS Simplified Authoring – Analytics Creation for Everyone: READ DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
AbhijitBansode
Specialist
Specialist

Container Object,Selected Index Change

Hi All,

I want to enable or disable the button when index of container object change.

e.g. container object contains bar and pie charts , when pie chart is selected ,

button to change group bar chart into stack bar chart should be disable and vice versa.

i can enable or disable this button by checking currently active index of container obeject,

by using SingleObjectActiveIndex property. but i'm not getting where should i fire this trigger(macro).

Is there any event which can track when Index Of Container Object changes..

Please sugegst some ideas, how should i achieve the same?

17 Replies
AbhijitBansode
Specialist
Specialist
Author

U might be missing something or else u might be providing wrong Object ID od container object.

because same works for me...

i'm still stuck at wher to fire this trigger..

Not applicable

I fired the trigger, with your macro code, on the trigger page of the sheet, there you can trigger a even on activating an object (CT01). This works fine!

But would be nice if Qlikview can make triggers on the object, tabs etc.

AbhijitBansode
Specialist
Specialist
Author

Thanks a lot Jochem..

It solved my problem...

Not applicable

Hi Jochem and Sparten,

I know it's been a while since you solved this issue, but we're facing the same one and have no clue on how to solve it. From my understanding, the activate sheet trigger only happens when the sheet is activated the first time, but once in the sheet, activating other objects doesn't trigger anything.

How do you manage to trigger every time a tab is selected? If you could provide an example it'd be very helpful. We're using QV11.

Thanks a lot.

Not applicable

you have to use the 'Sheet object event triggers' not the 'Sheet event triggers' these will be fired once.

Choose your CT object and use the macro code from spartan as an action.

Not applicable

Either I'm going nuts or there's no such option on QV11. I guess that those Object Event Triggers you're talking about were removed in version 11, as I read on this post http://community.qlik.com/thread/39913

Can you confirm which version are you using.

Thanks a lot for your time.

Not applicable

You are right, i have them both installed, in V10 this option was there, in V11 it's gone, so you're not going nuts!

murozel76
Contributor III
Contributor III

I was also about to "go nuts" this! Thankfully, I have found this thread