How To Use jQuery DataTable Plugin In Salesforce Lightning Component?
Here are some enhancement provide by DataTable Plugin to a HTML table:
Follow the steps to use jQuery Datatable In your Salesforce Lightning Component :
- Download jQuery library from link below.
https://code.jquery.com/jquery-2.2.4.min.jsTo Download jQuery library go to the link and right click on the page and click save.
- Download jQuery Datatable Plug-in from link below.
- Add ‘jQuery’ library and ‘jQuery Datatable Plug-in’ as static resource in your Salesforce Org.
Steps to add file as static resource
- Create Lightning component.
Here is a video that shows how data table work on lightning component UI :-