We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [accordion]

Salesforce UI tweaks

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

how to close lightning-accordion-section

I want to close an opened section lightning-accordion-section when click a button. how to develop in LWC. Such as when I click a button then the accordion-section is open and when click button again ...
1
vote
1answer
21 views

Lightning Page: Can you expand all sections of an accordion?

When I go to edit a Lightning Page I can add a new accordion type component. The accordion can have different sections however only one section can be open on load. Or altogether at any one time. Is ...
0
votes
0answers
19 views

Expand Lightning:accordion section from JS Controller

I want to expand an accordion section dynamically from the JS Controller. When activeSectionName value is changed, I'm trying to assign that value to the accordion activeSectionName attribute, but ...
2
votes
2answers
389 views

How do you Expand All/Collapse All in lightning:accordion

I'm trying to Expand All/Hide All in lightning:accordion Lightning aura component. <aura:iteration items="{!v.pboW.listPb}" var="pbW"> <lightning:accordionSection name="{...
1
vote
1answer
72 views

Need to make entire section title clickable

I am using section expand collapse as described here -- http://sfdcmonkey.com/2019/03/05/create-expand-collapse-sections-salesforce-lightning/ I am able to use this, however it's only usable only ...
0
votes
0answers
24 views

Is there a way to add action icons on accordians?

I have built a standard accordion in lightning. I need to add 'action:' icons to the accordionsection. How can I achieve this? I need to move documents tag and icon to the accordion section.. My ...
0
votes
1answer
124 views

How do you get ID of lightning button inside of an iteration?

So I get the error "component.find.(...).get is not a function". Through research I found out that this is because iteration creates multiple instances of aura:id. I've tried to use event.getSource() ...
0
votes
2answers
41 views

lightning:accordion open all sections on init

Does anyone have an idea if it's possible to open all sections in lightning:accordion on load? Do mind that all of those sections are dynamically generated so i'm not able to reference them one by one ...
0
votes
2answers
325 views

Lightning Accordion Multiple Sections not Opening upon Load

I am trying to get my Lightning Accordion component to open all the sections at once. Per the Component library that can be done by having a List attribute <aura:attribute name="activeSections" ...
0
votes
1answer
78 views

Visual force page tag in section [closed]

If I click preview, there are two sections are iterated and displayed here. If I click preview the section first has to be displayed and second section should be minimized that means not expandable. ...
0
votes
1answer
38 views

How to Use Aura Attribute Length Value in Lighting Accordian Section Label

Looking to use an Aura Attribute length value for a Lightning Accordion Section. Pretty basic but i can not figure out how to do the length value minus 2 within the label. I'd like to keep it as ...
0
votes
1answer
481 views

How do i pass the current expanded accordion section to another component

Im completely new to lighting so I get stuck quite easily. I have looked online for examples but found none. I have created a lightning accordion that uses an aura iteration to display a list of ...
0
votes
1answer
285 views

lightning design system toggle nested classes

Im trying to use the following markup <lightning:accordion> <aura:iteration items="{!v.faqs}" var="faq"> <lightning:accordionSection label="{!faq.Name}" ...
1
vote
1answer
2k views

Lightning Accordion does not close section [closed]

Is it possible to close an accordion section kinda like a expandable section or do i have only the option to swap between them edit: I want to be able to close an open section instead of just opening ...
6
votes
1answer
2k views

Lightning: How to open a newly-added accordion section?

Assume the following pseudo-markup: <component> <attribute recordList/> <button label="Add" onclick="{!c.addRec}"/> <accordion> <iterate over recordList ...
0
votes
0answers
1k views

How to implement accordian in lightning?

Please help me in how to implement Lightning Accordian component. I tried one solution from Internet but it is not working. Will you please share some examples of it? Accordian.cmp- <aura:...
0
votes
1answer
1k views

Accordion doesn't collapse using <apex:repeat in a VF Page

I was looking to implement the accordion in visualforce page and found this link and i like it and when I try to implement on my page having <apex:Repeat> then the accordion does not collapse/...
0
votes
0answers
316 views

Rerender jquery accordion is not working properly

I am trying to reRender my accordion panel which is not working. On page load accordion works but on selection of object from object picklist it does not. Page Code : <apex:page controller="...