If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Has the sample "Freeze column" javascript been removed?

Started by oscarca, 20 Dec 2019 02:41:44 AM

Previous topic - Next topic

oscarca

Hello Community,

In previous version of Cognos Analytics 11 (before 11.1), I recall seeing a sample Javacript (Custom control) called "Freeze columns" in the installation folders. Has this one been removed and if so where to find it?.
I wish to be able to freeze the column headers and row headers without having to turn of the "Full interactivity mode". When you have Full interactivity mode set to "Yes", you cannot right click the header and choose freeze.

Best regards,
Oscar

oscarca


CognosPaul

The closest I can find is this youtube link: https://www.youtube.com/watch?v=kzStfI59Gj0&t=246s

Jeff Martin, the author, is going over what the control does. The problem is the link to the control is locked behind Box, and unfortunately I don't have access to it. Any IBMers about want to download and attach it here?

oscarca

Hello Paul,
I actually managed to access IBMs community site and download it. I believe it was part of the sample javascript package before but not in 11.1.

I did try your javascript code (brilliant work) from one of your old blog posts with the toggle button which works great. But is it possible to do it without the toggle button and always have the headers frozen? I tried playing around with the code but didnt get it to work.

CognosPaul

You're talking about the non-interactive one?

Unfortunately it doesn't work well without the toggle. What happens is the page needs to load fully before the rows/columns can be frozen or the crosstab becomes malformed. You could use a setTimer to trigger it, but it still won't be frozen on page load.