Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I'm trying to understand how to write stuff by reading the Qlikview JavaScript Library documentation, but beeing novice on both Java and Extensions foreces me to ask at the forum again...
I want to clear all selections in my document when my extension is initiated.
I have written like this:
Qva.AddExtension("ExtensionTest", function ()
{
var mydoc = Qv.GetCurrentDocument();
myDoc.Clear();
});
But my selections are still there when my extension object is started / restarted.
I noticed that
this.Data.ClearSelections(); will clear all dimensions that are connected to my extension, but I want to clear all selections in my document.
// Robert
No answer...Is this question to simple or to complex?
you try in macro...
Thanks for your suggestion. But I don't want to clear all with a macro in the docuement since I need the extension object to trigger the "clear all" based on some events in the extension object itself. Therefore I need this to be written in Java Script inside the extension script. Regards Robert
could you get the syntax? i am looking for a way to clear the selection when the page gets loaded in the "Edit Module"