Datatable npm for buttons and select

Datatable npm for buttons and select

sparkstersajjadsparkstersajjad Posts: 10Questions: 4Answers: 0

In my angular project. I have installed npm for datatable buttons (https://www.npmjs.com/package/datatables.net-buttons) and select box (https://www.npmjs.com/package/datatables.net-select). Both got installed successfully but if see npm_modules of these it's showing only js files css files are missing. what i have to do for that. do i need to download and add directly to that or any ways is there. please advise.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin

    Yes - because we support multiple styling frameworks you need to download the package for the framework you are using - e.g. if you use Bootstrap then instannce datatables.net-buttons-bs4. See the npm download page.

    Allan

  • sparkstersajjadsparkstersajjad Posts: 10Questions: 4Answers: 0

    Thanks Allan

This discussion has been closed.