I am using sub tables from this link
https://preview.keenthemes.com/html/metronic/docs/general/datatables/subtable
but showing this error
Uncaught SyntaxError: Unexpected token ']'
in your JavaScript which i just copy-pasted......
and after getting viewsoure of page ........i come to know to that its using subtable.js but this js file is not present in my downloaded folder of metronic i only have datatables.js where can i find subtable.js
Hi,
The js code provided in the docs should be similar to subtable.js
.
You can copy the code from this URL as well and put in the src/js
folder then recompile your assets folder with Gulp or Webpack.
Please note that the build tools are required only in the development environment just to compile the assets when the source folder files are modified. In the hosting/server deployment, you will only need the compile assets, no need to install the build tools dependencies there.
Regards.