Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hy,
It's possible create a Extension with two different dataset.
My problem is to use a dateset (one dimension A e one expression A ) for the first analisys and the second dataset (two dimension A B and two expression D E) for the second analisys (detail when click on row of first analisys with a popup).
in _this.Data.Rows there is a single dataset (dimension A B ; expression A D E).
Does not exist _this.Data[0].Rows and _this.Data[1].Rows
Hello,
I'm trying to do exactly the same thing. I need two different dataset in my extension.
Do you find a solution or workaround ?
Best Regards
Hi,
this is just an idea: create two extensions with different data sets and make the 2nd extension overlaying the 1st extension and only visible if something is selected in the 1st.
- Ralf
Hi
Another idea (or maybe the same as Ralf's ) is to have two extensions with the two different data sets and make one extension know about the other and fetch the data from both datasets before using it.
The tricky part maybe implementeing the selections, if you need that part working as well.
UI wise you can do as Ralf says, hiding them ontop of eachother. Have not tried it but if you manipulate the DOM of the second extension maybe you could automatically hide it behind the first (or even make it invisable).
Working with extensions is hacking...
Br Patrik
Thanks you,
Yes It could be a "solution", but I need to display the second dataset inside the first extension. How can I pass the datasets between the extensions ?
Hi
There are numerous ways to do this, but since you develop the JavaScript for them both it's up to you.
One way to do it is that the second dataset EO only acts as an object that collects the data and tells the first extension object when data is updated. You could create a simple callback mecahnism for this, and handle the syncronization between the two EOs.
Br Patrik