I’m noticing once I have open and closed the Fields window, subsequent calls of setReport will trigger the fieldslistclose event. Is this by design?
Thank you for posting your question to the forum.
You are right, subsequent calls of
setReport() trigger the
fieldslistopen event if the Fields window was initialized. This is by design and depends on the
configuratorActive report option, which is
false by default (the
fieldslistclose event is triggered).
Could you please let us know if this behavior does not work for your case?
Thank you, Iryna,
What I am trying to do is implement a default drillThrough (as per the Fiddle demo) that is not completely eliminated when adding rows and/or columns in the Fields window.
I seek to do the following:
Any insight is appreciated.
Thank you for your answer.
Please have a look at the following example: https://jsfiddle.net/flexmonster/ra6cbgoq/. There is a default
drillThrough defined with “Business Type”, “Country” and “Price”. If the user removes “Price” and adds “Color”, a
drillThrough property will store a new value. The next time the user opens the drill through pop-up window, “Business Type”, “Country” and “Color” will be shown. Could you please confirm that you are looking for a way to be able to keep the old value of a
If you want to achieve something different, we kindly ask you to provide more details. Waiting for your reply.
Thank you for the response. Using the same example: https://jsfiddle.net/flexmonster/ra6cbgoq/, let me explain what I would like to achieve. With the same default drillThrough defined “Business Type”, “Country” and “Price”, if I add a column for “Total Sum of Quantity” I still want to see old drillThrough as “Business Type”, “Country” and “Price”.
It looks like we have an issue here.
We will provide a fix in the next minor build (ETA Feb 26th)
Thank you for your help and turnaround on this issue.
I’m glad to inform you that the version with the update for you has already been released.
Now, it is possible to set the
drillThrough slice property in the global object. That allows pre-configuring the default list of columns that will be shown in the drill-through view.
Please feel free to update the component.
Let us know if everything works fine for you.