hello, I downloaded metronic v8.1.6, but how do I run datatable export? The ones used for the customer/list page only give a success message. Does not export
If you need the export to be processed at frontend you can check this Datatables Export Buttons demo here.
Thanks but There is a view here, but there is no such file in v8.1.6
There was this file in the previous version.
. It's okay, I can get it from the console, of course, but just for your information.
The above documentation page contains the HTML and JS code. You can create the JS script in
src/js/custom/my-datatable.js and put the JS code there and them 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.
So in the production environment, there is no need for the tools directory with gulp, webpack related files, right? Just precompile will be enough?
I don't keep my js files under src but
Do I still need to compile with gulp when I add a different js file or customize it for my own project within the js file?
Yes, in your production you do not need those build tools. Only compile assets and your pages will be deployed. No need to deploy webpack, npm, yarn, or gulp in your server. Those build tools are for your development just to manage the assets compilation.