function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Surender reddy SalukutiSurender reddy Salukuti 

Refresh button alignment issue

Hi all,

any one help me on this button alligne ment 

User-added imageI am trying to allign refresh button beside the Delete button i am trying with below code. 

i have posted only deltebutton and refresh code i am using same class="slds-col slds-col_padded" for other headings 

can any one help me on this allignment

<div class="slds-col slds-col_padded">
            <span> 
                <lightning:button class="DeleteButton" label="Delete Goals" variant="brand" onclick="{!c.DeleteRecords}"/>
            </span>
            <span class="slds-box_small">
                <lightning:buttonIcon iconName="utility:refresh" variant="bare" onclick="{!c.reloadTable}" />
            </span>
        </div>
    </div>

Thank you 

Surender 

 

PriyaPriya (Salesforce Developers) 

Hi Surender,

you can use $A.get("e.force:refreshView").fire(); to refresh View.
Here is documentation link:  https://developer.salesforce.com/docs/component-library/bundle/force:refreshView/documentation

 

Please mark it as best answer if it solved the issue.

Regards,

Priya Ranjan

Mark StewardMark Steward
User-added image
When I make a component with just the markup you have, everything looks good.  Do you have any other attributes in the stylesheet messing with it?  If you post the rest of the markup, it might be easier to troubleshoot.