You need to sign in to do that
Don't have an account?
Bryan Leaman 6
Build a layout component that can hold other lightning components
I'd love to be able to create a component like Accordion that is basically a layout component to create columns like the general page layout does.
My use-case is a record page that really needs to be full-width. We use the tabs component to place related lists in one tab and other specialty functionality in other tabs. But now I'd like to add an activities side-bar to one of the tabs rather than to the page as a whole, but I can't find any "columns" components that would allow other components to be placed in them.
Am I missing seeing something obvious? I guess I could see if the accordion component is open-source and adapt that to various column configurations if I have to.
My use-case is a record page that really needs to be full-width. We use the tabs component to place related lists in one tab and other specialty functionality in other tabs. But now I'd like to add an activities side-bar to one of the tabs rather than to the page as a whole, but I can't find any "columns" components that would allow other components to be placed in them.
Am I missing seeing something obvious? I guess I could see if the accordion component is open-source and adapt that to various column configurations if I have to.
I think you can build a custom layout as per the necessary requirements you can use the below documentation that I was able to find as it has an example for reference.
>> https://developer.salesforce.com/docs/component-library/bundle/lightning:layoutItem/example
I hope this helps.
Regards,
Anutej