Hey Guys, I am having a few questions regarding the accordionpanel 1. if I put an accordion panel in a cell of a row which has a heightPolicy=Dynamic the accordionpanel will not expand. I need to not specify anything for the height of the row. 2. what do you need to specify for heightAllocationPolicy for an accordionpanel or is this a nonworking attribute 3. what do you need to do to make it behave nicely if it is not in the last row of a table layout

asked 22 May '14, 03:10

Raymond's gravatar image

Raymond
24328
accept rate: 0%

Running with the debugger it shows that collapse or expand an accordion does not trigger an event. So defining event expanded or collapsed will never be executed? What gives?

(22 May '14, 03:57) Raymond

Hi Raymond,

  1. Unfortunately, the heightPolicy=Dynamic usage is not supported for a row containing an accordionPanel.
  2. heightAllocationPolicy is the height percentage which will be used by the last expanded accordion. For instance, imagine that an accordion panel's height is 200px, heightAllocationPolicy=80 and 3 accordions are currently expanded. When you expand a new accordion, its height will be 160px since heightAllocationPolicy=80. If you don't specify the heightAllocationPolicy, the accordion panel's height will be shared equally by all expanded accordions, meaning that, in the previous example, the height of the newly expanded accordion would be 50px.
  3. Can you please give more details? Perhaps setting an accordion as expanded="Y" in designtime can be what you are looking for.
  4. The expanded and collapsed events seem to work as expected to me. Are you experiencing a problem with these events? If so, can you specify your usecase and the browser you are using?

Regards,
Ibrahim

link

answered 29 May '14, 08:22

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1

Asked: 22 May '14, 03:10

Seen: 645 times

Last updated: 29 May '14, 08:22

Related questions


© Copyright Gerger 2017