Skip to main content

New answers tagged

0 votes

How can I make <lightning:datatable> columns dynamic?

I had the same problem and this code worked for me: var fields=[]; fields=component.get("v.values"); var columnsDataTable = fields.map((option) => ({ label: ...
poornima's user avatar
0 votes

Aura Component focus not working

Assign an aura:id to the header element so you can easily reference it in your JavaScript controller. Also, Make sure you're using component.find correctly to get the header element and Use the focus()...
Tushar Jadav's user avatar
  • 2,715
0 votes
Accepted

Help with aura component that works in standard org but not works in partner portal

I solved my problem. Apparently this was happening due to a series of access permissions to the vf page, aura component and apex classes that the user did not have, in addition to the fact that I was ...
Cauan Vital's user avatar
0 votes

Aura to LWC custom event, getParam('details') is null getParams('details') has data

event.getParam('detail'); should be event.getParam('accountId'). See Send Events to an Enclosing Aura Component. Edit: I should mention that getParams takes zero parameters, so you could write event....
sfdcfox's user avatar
  • 500k
1 vote

TypeScript and Lightning?

Winter '25 Update Salesforce have released Typescript for Lightning Web Components as a Developer Preview. Fingers crossed it will make it to GA More info: https://developer.salesforce.com/docs/...
Nick C's user avatar
  • 7,004

Top 50 recent answers are included