COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: wandan on 16 Aug 2010 02:53:13 PM

Title: Hide Select All Under List Prompt
Post by: wandan on 16 Aug 2010 02:53:13 PM
Hello,

I found the below code that will hide both the "Select All" and "Deselect All" options. I need to be able to hide "Select All" but leave the "Deselect All" option available.  Is there a way to do this in 8.4?  And, I need a way to apply it to only certain prompts on a prompt page.

<SCRIPT LANGUAGE="JavaScript">
//hiding select all
for (j=0;j<document.links.length;j++)
{
y=document.links[j];
if (y.id.indexOf("SELECT") !=-1)
document.getElementById(y.id).style.display='None';
}
</script>
Title: Re: Hide Select All Under List Prompt
Post by: koharish on 16 Aug 2010 03:56:58 PM
yep you should use this code

there is no built in option for that even in 8.41