I want to part 2 columns in my record edit form because it has too many fields. enter image description here

1 Answer 1


To create a multi-column layout for your record edit layout, use the Grid utility classes in Lightning Design System. This example creates a two-column layout. Reference

    <lightning:recordEditForm recordId="003XXXXXXXXXXXXXXX" objectApiName="Contact">
        <div class="slds-grid">
            <div class="slds-col slds-size_1-of-2">
                <!-- Your lightning:inputField components here -->
            <div class="slds-col slds-size_1-of-2">
                <!-- More lightning:inputField components here -->
  • how can i get buttons in the middle May 23 at 9:42
  • <div class="slds-align_absolute-center"> <div class="slds-m-top_medium"> <lightning:button label="Cancel" /> <lightning:button type="submit" label="Save Record" /> </div> </div> May 23 at 9:49
  • okay thanks if i want ask some question then where can i contact you. May 23 at 9:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.