function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Angelo RendonAngelo Rendon 

Is it possible to call a Lightning Component from a Javascript function?

I am using a jQuery Datatable inside one of my lightning components, and would like to call another lightning component on click of one of the fields in the Datatable. On click of the "edit" field inside the table, it should open a modal which is a lightning component that we already created. Is this possible through javascript?
Thanks!
SandhyaSandhya (Salesforce Developers) 
Hi,

Try to  use slds-hide class.

please refer below link.

https://www.lightningdesignsystem.com/components/utilities/visibility/
 
Hope this helps you!


If this helps you please mark it as solved.It will make available for others as a proper solution.

Thanks and Regards
Sandhya