Created
July 19, 2018 11:22
-
-
Save amitkumarRoy/46fab6b7d1dafc76c62443a3b6449208 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
init: function (cmp, event, helper) { | |
cmp.set('v.myColumns', [ | |
{ label: 'Contact Name', fieldName: 'Name', type: 'text',editable: true}, | |
{ label: 'Phone', fieldName: 'Phone', type: 'phone',editable: true}, | |
{ label: 'Email', fieldName: 'Email', type: 'email',editable: true} | |
]); | |
helper.getData(cmp); | |
}, | |
saveTable:function (cmp,event,helper) | |
{ | |
helper.onSave(cmp,event); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment