Created
January 29, 2014 14:56
-
-
Save emoen/8689712 to your computer and use it in GitHub Desktop.
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
{ | |
leaf: true, | |
text: gxp.plugins.Legend.prototype.tooltip, | |
checked: true, | |
iconCls: "gxp-icon-legend", | |
ptype: "gxp_legend", | |
outputConfig: { | |
filter: function(rec) { | |
if (record.get("title").indexOf("Europa -hvit bakgrunn") != -1) { | |
alert("filter in outputConfig"); | |
return false; | |
} else if ( record.get("title").indexOf("Europa") != -1) { | |
return false; | |
} | |
return true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment