How to edit datatable plugin using in our own javascript file?

How to edit datatable plugin using in our own javascript file?

rudrajitrudrajit Posts: 18Questions: 5Answers: 0

Hello,
This might sound silly but i dont know how and where to put the plugin code in my javascript file and then edit it as per my convenience?
Or --
I have imported

//cdn.datatables.net/plug-ins/1.10.22/pagination/input.js

the input plugin for pagination. By default it does not show pagination when the data can be fit inside a single page. But I still want to show it. Is there any way i can manipulate it inside my javascript file?

Answers

  • kthorngrenkthorngren Posts: 21,173Questions: 26Answers: 4,923

    You can download the input.js file and place it in your project. Then edit and load it from the local path instead of the CDN. Where to place it is specific to your project structure.

    Kevin

  • rudrajitrudrajit Posts: 18Questions: 5Answers: 0

    @kthorngren Thank You .

This discussion has been closed.