COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => Topic started by: vsudaya on 22 Dec 2005 12:40:07 AM

Title: eliminating white spaces in page
Post by: vsudaya on 22 Dec 2005 12:40:07 AM
Hi all,

i have list control(hidden) on top of page  and another list control in page body, which uses results from hidden list control. even though it is hidden lot white space is coming in top of page, can anybody have idea of
supressing the white spaces, i tried with changing properites in list control, changing box type to none, we can do it  but when u change this property to none, we will not be getting records from hidden list control.

thanks in advance.
vsud
Title: Re: eliminating white spaces in page
Post by: BIsrik on 22 Dec 2005 07:05:34 AM
i could do the same by setting the box type to none...and i don't feel the values that is getting passed is not related with this box type property...

Srik

Title: Re: eliminating white spaces in page
Post by: MrO on 22 Dec 2005 08:17:20 AM
Try placing the list you want to hide at the bottom of the report. Whitespace at the bottom is less disturbing.

Alternate, if you need values from one list (query) in another list (query), you shouldn't use 2 lists, but use tabular sets in your query.
Title: Re: eliminating white spaces in page
Post by: bdybldr on 22 Dec 2005 11:24:32 AM
vsud,
Can you give us more information about what you're trying to accomplish.  I'm sure there's a better way than using hidden lists.
Title: Re: eliminating white spaces in page
Post by: vsudaya on 23 Dec 2005 12:09:17 AM
Hi Srik,

setting box type to none is not giving me result i wanted, is there any another way to eliminate white space.
because list control got html(div tag) which will be used list2 control for tool tips. so if i set box type to none it will not get result.

thanks in adavance
vsud
Title: Re: eliminating white spaces in page
Post by: BIsrik on 23 Dec 2005 12:38:37 AM
could u plz tell us what u r exactly trying to achieve...do u think this is not possible in one list itself...

Srik
Title: Re: eliminating white spaces in page
Post by: vsudaya on 27 Dec 2005 06:58:19 AM
Hi Srik,

i am implementing tool tips for a report , list1(query1)-list column headers. For that i am getting tool tips(column name, column tool tip text) data from different list2-query(2). On top of page i am keeping list2 control with html objects contain div tags as list columns and also using javascript functions for hide and show , these div tags will used for whenever i hover mouse on list1 column headers it will display that column header tool tips dynamically. because of this i am getting lot of white space if i keep this list2 control on top of page or bottom of page. i need to set rows per page to maximum- list2 control since it has to return all the div tags. so that it display tool tips for different reports.

so, my issue how to over come the white space generated by list2, even though it is hidden( i set property to hidden). i tried to set box type to none. because of this i am able to remove white space, but divtags which are to be returned are not returned so that i can get tool tips.

any alternative solution for this.

thanks in advance
vsud

Title: Re: eliminating white spaces in page
Post by: mikegreen on 28 Dec 2005 09:24:31 AM
Vsud,

  Is there a reason you are using Javascript for the tooltips? Have you tried simply using the paragraph and 'title' property via HTML - shown here in the SupportLink article -
http://support.cognos.com/supported/supportlink/14n4/techreview10.xml

Regards,

Mike