Using datatable in salesforce lightning component
Using datatable in salesforce lightning component
Hi,
I am using datatable in salesforce lighting component, its working fine expect I am getting this warning when lightning locker service is enabled.
WARNING: SecureElement: [object HTMLDivElement]{ key: {"namespace":"c"} } does not allow getting/setting the disabled attribute, ignoring!
Locker service in salesforce prevent:
Components from causing XSS and similar security issues
Components from reading other component’s rendered data without any restrictions
Components from calling undocumented/private APIs
I am afraid it might stop working some day.
Thanks,
Rehan
Answers
Interesting to hear if this can be solved before April 2017, when Locker Service is automatically turned on in every Salesforce org.
Can either of you give me a link to a page showing the issue please?
Allan
We're getting this error when we inspect the salesforce lightning page.
It would be great if it gets sort out before April'17
Allan already asked for a link to a page showing the issue.
Hi Alan,
Don't know if you were informed, found good news here:
https://developer.salesforce.com/blogs/developer-relations/2017/02/lockerservice-lightning-container-third-party-libraries-lightning-components.html
So we should be save to continue using Datatables with Salesforce.
Good to hear - thanks.
Allan