New answers tagged aura
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: ...
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()...
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 ...
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....
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/...
Top 50 recent answers are included
Related Tags
aura × 1363lightning-aura-components × 806
lightning × 338
apex × 214
lightning-web-components × 196
javascript × 159
aura-attribute × 73
lightning-apps × 53
community × 46
visualforce × 44
aura-iteration × 42
lightning-experience × 34
lightning-design-system × 32
visual-workflow × 30
lightning-events × 29
javascript-controller × 27
aura-if × 27
controller × 26
component × 24
locker-service × 20
css × 19
lightning-datatable × 19
salesforce1-app × 18
salesforcedx × 17
lightning-recordeditform × 15