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

how to freeze the cross tab headers using java script in cognos 8.4

Started by sai.karthik-1980, 23 Feb 2010 04:22:36 AM

Previous topic - Next topic

sai.karthik-1980

hi Team


we want to freeze the  cross tab headers using java script.The scenario is horizontal scroll bar is moved
the headers should not move only data has to get moved.but when ever the vertical scroll bar is moved
the header should also move.
can you pls provide me the solution
regards
karthik

paddhu

Why JavaScript? Try if this workaround suits your requirement...

- Set the Box Type of the Crosstab Row Node Members to None (or hide it)
- Add a list/table beside the crosstab and imitate it's row headers.
- Fit the Crosstab into a Block item and set the Block's size appropriately.
- Don't forget to set the 'Use Scrollbars when necessary' option.

kauvasques

Here a scrip for help

blom0344

Quote from: kauvasques on 31 Jan 2013 12:13:42 PM
Boa noite fiz um relatório que segue em anexo,
nele contem um scrpit modificado para funcionar o congelamento de painéis tanto no cognos 10 quanto no cognos 8.

I'm not sure posting in Portugese is strictly prohibited  ;)  on Cognoise, but very few may be able to read your contribution. Could you try and give us an english version of your message? Doesn't need to be perfect. I know mine isn't ;)

MFGF

Quote from: kauvasques on 31 Jan 2013 12:13:42 PM
Boa noite fiz um relatório que segue em anexo,
nele contem um scrpit modificado para funcionar o congelamento de painéis tanto no cognos 10 quanto no cognos 8.

To a muppet like me, this message is just as unintelligible as javascript :) Truthfully, it's difficult for moderators to determine whether the content of posts like this is appropriate, so we'd prefer posts in English if possible. Take no notice when Ties says his posts are not perfect - his English is way better than mine! ;)

Thanks,

MF.
Meep!

blom0344

Just to let the community know: kauvasques edited his message. You might otherwise wonder why those 2 mods were reacting on   ;D


MFGF

Quote from: blom0344 on 01 Feb 2013 07:32:53 AM
Just to let the community know: kauvasques edited his message. You might otherwise wonder why those 2 mods were reacting on   ;D

Thanks kauvasques :)
Meep!

bvk.cognoise

Hi Karthik,
Please try below method hope this helps you

Have 2 blocks, one with crosstab having only header (with deleted measures) and second one have the crosstab with hidden headers. For the second block set the properties 'Size&overflow' height as 13 cm and select 'Use scollbars when necessary'. Execute ur report n see if it works.
The width of the cells need to be adjusted so that both header n body align properly. For me this works perfect.
For fomatting the cell, select the whole crosstab and in table properties select fixed width for both crosstabs. that should work.

Regards
bvk
Regards
BVK

bvk.cognoise

Regards
BVK