Last active
December 28, 2015 16:49
-
-
Save stefanwalther/7531067 to your computer and use it in GitHub Desktop.
Load CSS files in QlikView Object Extensions (QlikView 11).
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Define one or more styles sheets to be used within the extension | |
var cExtensionName = 'ExtensionName'; | |
var cssFiles = []; | |
cssFiles.push('Extensions/' + cExtensionName + '/lib/css/style.css'); | |
cssFiles.push('Extensions/' + cExtensionName + '/lib/css/style2.css'); | |
for (var i = 0; i < cssFiles.length; i++) { | |
Qva.LoadCSS(Qva.Remote + (Qva.Remote.indexOf('?') >= 0 ? '&' : '?') + 'public=only' + '&name=' + cssFiles[i]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment