You need to sign in to do that
Don't have an account?
Refresh button alignment issue
Hi all,
any one help me on this button alligne ment
I 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
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
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.