You need to sign in to do that
Don't have an account?
Nevin O'Regan 3
3 Columns In A Section
Has anyone got simple examples of where they were able to add a 3rd column to a section in Lightning?
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
There is a grid feature in the salesforce lightning design system. Make use of that for your requirement.
If it is a standard component or layout then you cannot add the third one right beside as you highlighted above. You can add as a new component underneath the referral commission section. as per the standard functionality, you can make one or two column layouts in the lightning as shown below
If you want to make three column layout then you can go for custom lightning component and use grid system to design as per your business requirement
More details on salesforce grid system at https://www.lightningdesignsystem.com/utilities/grid/#
Hope this information adds value to your development.
Naveen
Team codengine.in
All Answers
1) Using VF page + SLDS and add it to the specific section of the page layout.
2) Use force:recordData with Mode="VIEW".
Thanks
There is a grid feature in the salesforce lightning design system. Make use of that for your requirement.
If it is a standard component or layout then you cannot add the third one right beside as you highlighted above. You can add as a new component underneath the referral commission section. as per the standard functionality, you can make one or two column layouts in the lightning as shown below
If you want to make three column layout then you can go for custom lightning component and use grid system to design as per your business requirement
More details on salesforce grid system at https://www.lightningdesignsystem.com/utilities/grid/#
Hope this information adds value to your development.
Naveen
Team codengine.in
The grid system using a custom lightning component sounds exactly what I am looking for. I will look into this further.
Happy coding!
Naveen
Do you mind me asking if the below code looks ok. Sorry I'm a novice at coding. I have gone to the Developer Console and selected Lightning Component.
<aura:component >
<div class="slds-grid slds-gutters">
<div class="slds-col">
<span>1</span>
</div>
<div class="slds-col">
<span>2</span>
</div>
<div class="slds-col">
<span>3</span>
</div>
</div>
</aura:component>
Naveen
You need to implement interface to make it available <aura:component implements="flexipage:availableForAllPageTypes">
Naveen
Team codengine.in
How can I add input fields to this then? So I have created custom fields for this section on the object, is it possible to just add them to this code?
Naveen