Questions tagged [lightning-renderer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
605 views

Lightning Web Component - for:each is re-rendering entire list everytime it updates

I have a doubt about how LWC List rendering works, and see If I'm doing something wrong. I'm doing an implementation of a virtual scroll in a table with multiple rows and columns, and I saw that if I ...
Tiago Almeida's user avatar
0 votes
1 answer
216 views

How to render one component after another

I have an aura component which is a combination of forceChatter:Publisher and forceChatter:feed. But here in my case forceChatter:feed is getting rendered before forceChatter:Publisher. I want ...
Rahul Allada's user avatar
0 votes
1 answer
770 views

Community Head Markup script not available in afterRender code

I have added an Adobe DTM script to the Head Markup of my community, and added the trusted site CSP details etc. I'm then attempting to create the data layer JSON object in an afterRender of a ...
Matt Roberts's user avatar
3 votes
2 answers
767 views

Progress Ring fill clockwise

I am using Brian's Progress Ring Component here- https://gist.github.com/brianmfear/d1308608c0facdc626b85c9c248fc7af It works great, however it fills in anticlockwise way. I have a requirement to ...
mvk1991's user avatar
  • 545
1 vote
1 answer
88 views

Custom render field for lightning

Scenario I've have multiple images categorised like before, after, extra images. And I want to display them together in Record page, ofc with customisation like in HTML grid something as I need some ...
Indrajeet Latthe's user avatar
1 vote
1 answer
5k views

Scrolling event within Lightning Component

I'm very new to Lightning component development and I'm trying to update page once user scrolls down to certain height (for this example say 250px) My component looks like: <aura:component ...
user569925's user avatar
  • 1,179
0 votes
1 answer
1k views

ReRender function is not working in lightning component

I have below LDS Component, at the console log, I can see render and after render log but once I start typing in one of the input fields, I get nothing from rerender log. can someone please help me to ...
gs650x's user avatar
  • 2,660
2 votes
1 answer
795 views

Why I am unable to call helper function from afterRender in lightning?

I'm trying to call a helper function when window.resize event is fired, but it is not happening. afterRender : function(component,event,helper){ this.superAfterRender(); //window....
Krishnan Mishra's user avatar
0 votes
1 answer
2k views

Use document.getElementById for elements that load from server data

I use document.getElementById with the id attribute to locate elements in my component. I cannot use component.find and aura:id because the elements are generated from an iteration. This iteration is ...
Itai Shmida's user avatar
  • 5,025
0 votes
0 answers
214 views

Lightning component afterRender not displaying component's attributes values

I have an afterRender function on the component's renderer that I need to retrieve some information to work with This is my logic: ({ // Your renderer method overrides go here afterRender : ...
molinet's user avatar
  • 915
1 vote
1 answer
15 views

customize rendering of specific field for lightning page

Scenario I've custom field in Order object where I want to store Carrier and Tracking Number but they can be multiple. I've come from the background of SugarCRM so what I've done is I'm storing ...
Indrajeet Latthe's user avatar
2 votes
2 answers
461 views

Check events emited by lightning component from managed package

I have to cal some action in my lightning component when the child component finished rendering. Best practice AFAIK is to handle event thrown by child component, but the problem is that I dont have ...
patryk's user avatar
  • 655
8 votes
2 answers
6k views

$A.util.removeClass happens seconds after execution

I'm changing data in a component and show a spinner as soon as changes happen. The handler executes all the lines, but $A.util.removeClass(cmp.find("loading"), 'slds-hide'); seems to be fired after ...
itsmebasti's user avatar
  • 6,437
4 votes
2 answers
1k views

Lightning rerendering, inheritance, and forceCommunity:navigationMenuBase

I've been working on a heavily customised Lightning Community where a lot of the UI effects are achieved using Javascript supplied by a design agency. These are included in the Lightning Community by ...
Aidan's user avatar
  • 13.7k
1 vote
0 answers
1k views

Why i can't access my <iframe> in Lightning?

Im trying to manipulate my iframe from the renderer but i can't get to the Document of the Iframe. Component: <aura:component access="global" implements="flexipage:availableForRecordHome,force:...
Nils Rosen's user avatar
4 votes
1 answer
837 views

Lightning component `afterRender` and third party libraries

Say I need to use afterRender on the <aura:component> to modify the DOM after it's been rendered (assuming afterRender actually works). To do that modification I need to use a third party ...
Matt Lacey's user avatar
  • 25.6k
3 votes
0 answers
616 views

<aura:if> and rerender: component..getElement() returns null [duplicate]

I have a aura:if expression that renders a inputNumber field after checkbox is clicked and certain other criteria matches. Now, I want that inputNumber to be focused (and set certain attributes, like ...
dzh's user avatar
  • 4,106