4 Replies Latest reply: Apr 22, 2013 8:43 AM by educe mail RSS

    Clear all selections in my document?

    Robert Svebeck


      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();


      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