expandable/Collapsible Section in lightning component -- w3web.net

Create custom expand all/ collapse all for accordion section rows table based in lightning component | how to create expand/collapse in lightning component Salesforce

Hey guys, today in this post we are going to learn about how to create a custom expandable all/collapsible all (Accordion) rows table based in lightning component.

Files we used in this post example

expandAndCollapseAllapp.app Lightning Application It is used for call the component to preview on browser.

expandAndCollapseAllCmp.cmp

Lightning Component It is used for create a table of student Information.
expandAndCollapseAllCmpController.js Lightning Component Controller

 It is used for click functionality expandable all/ Collapsible all section..

expandAndCollapseAllCmp.css Component Style CSS It is used for creat a custom style CSS for alignmnet expandable/Collapsible section table
expandAndCollapseDetailscmp.cmp Lightning Component It is a child component of ‘expandAndCollapseAllCmp.cmp’
expandAndCollapseDetailscmpController.js Lightning Component Controller It is used for expand and collapse functionality in row section detail view.

Live Demo

expand all collapse all rows in lightning component -- w3web.net

Other related post that would you like to learn in lightning component.

Step 1:- Create Lightning Application : expandAndCollapseAllapp.app

From Developer Console >> File >> New >> Lightning Application

expandAndCollapseAllapp.app [Component Application File]

Step 2:- Create Lightning Component : expandAndCollapseAllCmp.cmp

From Developer Console >> File >> New >> Lightning Component

expandAndCollapseAllCmp.cmp [Lightning Component File]

Step 3:- Create Lightning Component : expandAndCollapseAllCmpController.js

From Developer Console >> File >> New >> Lightning Component >> JavaScript Controller

expandAndCollapseAllCmpController.js [JavaScript Controller]

Step 4:- Create Lightning Component : expandAndCollapseAllCmp.css

From Developer Console >> File >> New >> Lightning Component >> Component Style CSs

expandAndCollapseAllCmp.css [Style CSS]

Step 5:- Create Lightning Component : expandAndCollapseDetailscmp.cmp

From Developer Console >> File >> New >> Lightning Component

expandAndCollapseDetailscmp.cmp [Lightning Component File]

Step 6:- Create Lightning Component : expandAndCollapseDetailscmpController.js

From Developer Console >> File >> New >> Lightning Component >> JavaScript Controller

expandAndCollapseDetailscmpController.js [JavaScript Controller]

expand all collapse all rows in lightning component -- w3web.net

Further post that would you like to learn in lightning component.

Related Topics | You May Also Like

Hi, This is Vijay behind the admin and founder of w3web.net. I am a senior software developer and working in MNC company from more than 8 years. I am great fan of technology, configuration, customization & development. Apart of this, I love to write about Blogging in spare time, Working on Mobile & Web application development, Salesforce lightning, Salesforce LWC and Salesforce Integration development in full time. [Read full bio] | The Sitemap where you can find all published post on w3web.net

6 thoughts on “Create custom expand all/ collapse all for accordion section rows table based in lightning component | how to create expand/collapse in lightning component Salesforce”

  1. You Can Learn Stock Market Fundamental Analysis with the best stock market course in Indore. Stock Homes provide live practical knowledge with money & risk management skills courses from Stock Homes. Learn Stock Market online with courses like Diploma in Financial Market. Join Short-Term Course with 100% Self-Trading Programme for Beginners Enroll Now! Get NISM certification courses at Stock Homes Best NISM Course.

    Reply

Leave a Comment