Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 81990

search panes - wrong package name included

$
0
0

Hi, thanks for Datatables it's amazing! I'm really looking forward to getting search panes working.

In the datatables.net-searchpanes-dt npm module v1.0.1, there's a couple of typos: one on line 18 where it's trying to require the npm package in camel case (npm packages aren't allowed to be camel case) :

require('datatables.net-searchPanes')(root, $); // should be searchpanes instead of searchPanes

Lines 17-18 in datatables.net-searchpanes-dt/searchPanes.dataTables.js .

... and another on line 17 above it, where it checks to see if $.fn.dataTable.searchPanes is defined :

 if (!$.fn.dataTable.searchPanes) { // should be SearchPanes instead of searchPanes

Viewing all articles
Browse latest Browse all 81990

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>