Search code examples
javascriptjqueryasp.netdatatable

JQuery Datatable Colvis is not showing in codepen code


I given my code in codepen for your views and I am unable to fix why Colvis is not showing in the output.

[https://codepen.io/Sixthsense6/pen/poKZoVz][1]

Don't know why SO is pushing me to embed the link under code tag.

Colvis


Solution

  • You are missing quotes in the second script, at the end of the url. You don't need to add scripts in settings as pointed out by @freedomn-m

    Other option -

    You can add your scripts in JS tab "Add External Scripts/Pens " and styles in css tab

    Attached the screenshot

    Check this link **https://codepen.io/nishant1207/pen/ExRpaBe?editors=1111**. It works as expected.

    enter image description here