COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: lahdeb on 21 Mar 2017 05:16:26 AM

Title: Modify the size of liste line
Post by: lahdeb on 21 Mar 2017 05:16:26 AM
Hi all

Plz , I need a help in report studio

I want to modify the size of one line of my liste which have a limited number of line , exemple: I want to modify the height of my third line of my liste , just the 3th one , is it possible?

Thank you
Title: Re: Modify the size of liste line
Post by: Invisi on 21 Mar 2017 08:26:48 AM
I need some more information to help you. What information is on this third line that you want to change the height of it? Is it somehow different in content?
Title: Re: Modify the size of liste line
Post by: lahdeb on 21 Mar 2017 08:53:52 AM
Hi,

My list is related to a table which have the third line more higher , so I want just to act on this 3th line of my list, just modify the height of this unique line , I joined a picture which explain my request
As you can see I want to modify the hight of the red line of my list


Thank you
Title: Re: Modify the size of liste line
Post by: New_Guy on 21 Mar 2017 01:26:22 PM
Hi,
Create a variable with Rownumber() = 3 and place a block inside the list row and render it for that variable. Adjust the size of the block as per your requirement. Check in the report functions for the rownumber function in the create variable window.
If the above doesnt work, let us know about what is in the other table and how are these 2 related.
Good luck
New guy
Title: Re: Modify the size of liste line
Post by: lahdeb on 22 Mar 2017 07:43:35 AM
Hi New_Guy ,
Thank you for your replay I will try your solution
Regards
Title: Re: Modify the size of liste line
Post by: Invisi on 22 Mar 2017 11:57:56 AM
How about putting the information of the table and the list in one list? I miss information about what is in that table, so I don't know or understand why you have them separately.
Title: Re: Modify the size of liste line
Post by: lahdeb on 23 Mar 2017 10:31:34 AM
Actually , the list come up with data from the data base , each row of the list has a comment (static) on the table , so it is done like this for the moment , I suggested to put the comment on the database and join it with the table which contains the data , but I have to do with what is done

I didn't try the solution proposed by new_guy , I m thinking of joining the list to an html code as well to modify the structure :D

Regards
Title: Re: Modify the size of liste line
Post by: lahdeb on 23 Mar 2017 12:02:04 PM
Hi all,

I m still not able to modify the height of a chosen row of a liste :/ , when putting variable and acting on the size , all rows of the list are changed

If do you have any other idea to solve the problem , I tried to use html but still not having what I want

Thank you

Title: Re: Modify the size of liste line
Post by: lahdeb on 23 Mar 2017 12:19:11 PM
I want to share a solution that I found even if it is temporary but it work .
All what  I had to do is to define the conditional style of my list , I added a row number to my list which I hided , and I act on rownumber =3 and I changed the height according to this value

If d you have better Ideas , I will be grateful if you share them with me
Thank you for helping