Skip to main content
11 events
when toggle format what by license comment
Jan 31, 2017 at 6:46 vote accept Sarang
Jan 31, 2017 at 6:46 comment added Praveen @Sarang Done. I have added the comment as answer.
Jan 31, 2017 at 6:45 answer added Praveen timeline score: 5
Jan 31, 2017 at 6:39 comment added Sarang @Praveen : yes I tried it in afterRenderer and it worked! Lesson learnt that init is called after some time and got to consider renderer in this type of scenarios which I tend to ignore. Thanks, you can answer this if you want and I'll mark it
Jan 31, 2017 at 6:31 comment added Praveen @Rangya Instead of doing things in init, can you try it in afterRenderer?. Reason is that init is called long before DOM availability, there might be a timing issue too.
Jan 31, 2017 at 6:28 comment added Sarang agreed and changed!
Jan 31, 2017 at 6:28 history edited Sarang CC BY-SA 3.0
Improved variable names
Jan 31, 2017 at 6:24 comment added javanoob Ok. Your variable naming is confusing, you named it as though you are getting div enclosing it.
Jan 31, 2017 at 6:23 comment added Sarang @javanoob : I am getting the lightning:buttonIcon itself, i.e : addFieldButtonID
Jan 31, 2017 at 6:20 comment added javanoob var divElement = component.find(id); -- On this line, Are you sure you are getting the div enclosing the lightning:buttonIcon or lightning:buttonIcon itself?
Jan 31, 2017 at 5:53 history asked Sarang CC BY-SA 3.0