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

column sorting so that on click on the column header

Started by Mpotla, 18 Jun 2009 02:15:45 AM

Previous topic - Next topic

Mpotla

I have a report in C 8.1 and this JavaScript is also published in proven practices for both 8.1 and 8.2 .

this is for dynamic column sorting so that on click on the column header, the data should get sorted without  the page getting submitted.

This solution is working fine but the thing is the toolbox objects like re-run, download options that we see in the top right corner in the cognos viewer are getting hidden. In my project to implement this solution i need to show those options also as they will be downloading the report to excel.

Can you please have a look if we can change anything in the javascript and get that done ? Attaching the sample report.


hanks in advance,
MOhan

Mpotla


Steve-O

Quote from: mohanpotla on 18 Jun 2009 02:16:32 AM
sry.. forgot the attachment

If I copy the xml to clipboard, open from clipboard, then change the package and data query items to point to items in my package, the list does not sort. 

Using 8.4.

The report loads, but if I click on a header, nothing happens.

Sreeni P

Quote from: Steve-O on 17 Aug 2010 08:09:44 AM
If I copy the xml to clipboard, open from clipboard, then change the package and data query items to point to items in my package, the list does not sort. 

Using 8.4.

The report loads, but if I click on a header, nothing happens.
Quote from: Steve-O on 17 Aug 2010 08:09:44 AM
If I copy the xml to clipboard, open from clipboard, then change the package and data query items to point to items in my package, the list does not sort. 

Using 8.4.

The report loads, but if I click on a header, nothing happens.


Hi It happens becuse the report was developed in 8.1/8.2 version, there is a change between these versions with Javascript...in 8.4 you have to re code some javascript Function names as per 8.4 standards ...hope it fixes your problem


mohanpotla: when this happening? are you able to see when you are running the report first time?before doing any sorting operation on column in cognos viewer? if no then you need to check for options to re enable the 're-run' and 'export' properties from the adminstration part ..correct me if i am wrong

Habitat

Hi,
can you send me the javascript or html file?
I want to sort the column in cognos Viewer. it doesn't work :(
I have cognos Report 8.2
Thx for Answer