You need to sign in to do that
Don't have an account?

jquery data table component
Hi,
I am using jquery data table component recently posted in the blog:
http://sfdcmonkey.com/2018/03/13/jquery-datatable-salesforce-lightning-component/#comment-3313
The issue is if i am using two different component in the same page, search and pagination is appearing in one component and it dissapears in the other component.
Any help will be appreciated.
Thanks
I am using jquery data table component recently posted in the blog:
http://sfdcmonkey.com/2018/03/13/jquery-datatable-salesforce-lightning-component/#comment-3313
The issue is if i am using two different component in the same page, search and pagination is appearing in one component and it dissapears in the other component.
Any help will be appreciated.
Thanks
I use a lot datatable without this problem.
You should post your code and you will get a fix very quickly.
Many developers of sfdcmonkey are also regular contributors here.
Here is my code. I have embedded four datatables inside this expandible collapsible component. But the search bar and pagination is coming only in the first component and dosent come in the rest 3 components. If i remove the first component, i automatically comes in the second component. I think the issue is jquery havinf conflict. I tried to remove the conflict by adding jQuery.noconflict() when the scripts are loaded, but not much luck.
Thanks.