Skip to main content
13 events
when toggle format what by license comment
Apr 13, 2017 at 12:54 history edited CommunityBot
replaced http://salesforce.stackexchange.com/ with https://salesforce.stackexchange.com/
Apr 4, 2017 at 8:32 vote accept Keith C
Apr 4, 2017 at 8:30 answer added Keith C timeline score: 1
Apr 3, 2017 at 18:59 comment added Praveen @KeithC I think it would be better if you could answer the question yourself. You'll have my vote :-)
Apr 3, 2017 at 10:56 comment added Keith C @Praveen I've gone with the component event to bubble up and the application event to share the update back down the tree approach and it works fine. Just a lot of plumbing and also requires care to support all the create/update/delete scenarios. If you want to add this as a brief answer I'll accept it.
Apr 3, 2017 at 9:19 history edited Keith C CC BY-SA 3.0
added 259 characters in body
Apr 3, 2017 at 9:12 comment added Praveen @KeithC Using Application Event to notify the td with relevant info would also work.
Apr 3, 2017 at 9:03 comment added Keith C @Praveen Yeah thanks. Maybe a component event to notify the root table that something has changed and then an application event to broadcast the current set of column entries back to the td cells.
Apr 2, 2017 at 14:27 comment added Praveen Only way I could think this can be done is by using Events. Have an Component event(has info of field being edited,and index of the tr) which is fired from the <c:tableRow/> and handle it in the Parent <c:table>, which inturns tries to access the all <c:tableRow /> components. Once you get hold of the each row component, you can access td's value (specific td value based on the field or all fields values) using trInstance.find('row').get('v.myProp'). Will this approach work for you?
Apr 1, 2017 at 9:56 history edited Keith C CC BY-SA 3.0
added 480 characters in body
Mar 31, 2017 at 20:19 answer added crmprogdev timeline score: 3
Mar 31, 2017 at 19:35 comment added Eric I'll admit a look under the hood of some of my components attempting this will cause one to cringe. Bunch of duct tape, cups and string, and a few pigeons. So I am not worthy to answer but will be watching
Mar 31, 2017 at 19:22 history asked Keith C CC BY-SA 3.0