Hi team,
How to change css and js in metronic theme from ftp and cpanel, And also if we use two data tables on a same page so the one data table is working and the other one is not working, this is all over the theme while we are using same elements more than one time on a single page
hi,
go to below link
https://preview.keenthemes.com/metronic8/demo1/?page=apps/user-management/users/list
In this this is the only one data table on this page and I want to use this data table two times on a single page. now what happened first datatable is working and the second data table functionalty is not working. this is my main issue.
So please let me know how I can use one element two times in a single page like datatables, country select box, modals etc.
Thanks
Hi,
Please note that each datatable should have a unique HTML ID and its own JS code to initialize them separately. You can copy the js code that was used for the original table and reuse it for the second table but with the required changes(use a different id and use a different class name in the JS script).
Regards.
HI,
Please note that the theme's css and js should be generated in your local development environment by gulp or webpack builders as explained here and generated css/js assets should be downloaded to your server via FTP.
Regards.