Questions tagged [accordion]

Salesforce UI tweaks

Filter by
Sorted by
Tagged with
1
vote
0answers
64 views

LWC - When tabbing in Datatable, view scrolls up

I am creating a LWC (non-Aura) using lightning-accordion and lightning-datatable to display a list of contact related items. There are several accordion sections. I am able to do for each section: ...
0
votes
2answers
103 views

Aura: can I add a help text to an accordion section?

I have the following code: <lightning:accordion aura:id="accordion1" allowMultipleSectionsOpen="true"> <lightning:accordionSection name="Selected" label=&...
0
votes
1answer
206 views

Lightning Accordion Section Title Bold [duplicate]

Hello Lightning Experts, My requirement is to bold the titles so I used slds-page-header__title slds-truncate in my lightning:accordionSection tag but the sub-headers is also getting bold. What do I ...
2
votes
2answers
540 views

Can we increase the lightning-accordion-section label font size

Is it possible to change the lightning-accordion-section label font size, I tried by adding class="slds-text-heading_medium" It print like below Play Ground Expecting to increase the Font Size and ...
0
votes
0answers
45 views

Adjust layout of accordion section header - LWC

I am using an accordion LWC populating it with a list. My lightning-accordion-section tag looks like this <lightning-accordion-section key={account.accountId} name={account.accountId} label={...
0
votes
1answer
81 views

there a way to have <lightning:accordion> not have a default section open on page load?

There a way to have not have a default section open on page load? Such as when the page loads all sections are closed and will only open when clicked ?
0
votes
1answer
635 views

Accordion in LWC

I'm attempting to build a accordion where all the contacts under each Account drill down like an accordion. I referred salesforce documentation. <template> <lightning-card title="Accounts ...
0
votes
0answers
27 views

lightning:accordionSection component not *RE_LOADing*

Facing an issue with <lightning:accordionSection>. There is a managed package which is rendering components in accordions we need to specify those components in config. However, now there is an ...
0
votes
0answers
19 views

Lightning App Builder - Wrong render of standard component?

While migrating from SF Classic to Ltng, I have a requirement to reproduce this in Ltng : I'm using Ltng App Builder, using an Accordion standard Component composed of Chatter (standard) and ...
1
vote
1answer
142 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 ...
3
votes
2answers
3k 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
242 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
1answer
1k 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() ...
1
vote
3answers
620 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
946 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
122 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
122 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
819 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
416 views

lightning design system toggle nested classes

Im trying to use the following markup <lightning:accordion> <aura:iteration items="{!v.faqs}" var="faq"> <...
1
vote
1answer
3k 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 ...
7
votes
1answer
3k 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
2k 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
333 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="...