cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Prevent scrolling of collection widget, scroll whole mashup instead

oskarberntorp
13-Aquamarine

Prevent scrolling of collection widget, scroll whole mashup instead

Hi,

When displaying content in a mashup with the help of a collection widget, I get a scroll bar inside the collection widget. Instead of this, I would want the collection widget to have a height so that it accomodates all elements, but where the scrolling is done in the parent mashup.

 

How to do that? I know how to turn of the scrolling of containers, but not how to do the same in collection widgets.

 

Kind Regards

Oskar Berntorp

5 REPLIES 5

Hi @oskarberntorp,

 

can you tell me, which TWX version do you have?

Hi @yalmatar,

 

The version is 9.5.0.

 

Kindly

 

Oskar Berntorp

Hi @yalmatar,

Have you been able to find a solution, it what I want to do possible to acheive?

Kind Regards

Oskar Berntorp

Hi @oskarberntorp,

 

sorry for the late answer, I think you can take this suggested solution:

 

make sure that the Collection Widget automatically adjusts its height based on its content. Then, set the parent container so that it shows a scrollbar only when necessary.

 

maybe you can use the following CSS:

 

.p-container  {overflow-y: auto;}

 

.coll-widget {

height: auto;

max-height: none;

}

  

regards

Yasin

Hi @yalmatar,

Alas the css made no difference.

 

Kindly

Oskar Berntorp

Announcements


Top Tags