COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: sram007 on 22 Feb 2011 07:13:30 AM

Title: Dynamic Cloumn Sorting
Post by: sram007 on 22 Feb 2011 07:13:30 AM
Hi,
In my list report there are 3 colums .
i have a value prompt which is having static values Ascending & Descending
based on the User Selection the 3 Colums should be Sorted accordingly,
Please Guide me how can i do this..

Regards,
Ram
Title: Re: Dynamic Cloumn Sorting
Post by: Arsenal on 22 Feb 2011 09:12:57 AM
Search this forum. I remember there was a non Javascript solution provided for it just last week by JGirl, I think.
You'll likely find a couple of non javascript solutions and a couple of javascript one's. The key to a non javascript solution is in using a prompt macro and controlling the sorting of the entire list based on that prompt macro and a self drill

But, search for dynamic sorting on the forum and you'll find the various solutions that have been posted.
Title: Re: Dynamic Cloumn Sorting
Post by: sram007 on 23 Feb 2011 03:50:02 AM
Thanks for your help Arsenal