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

Custom pagination button types

$
0
0

Link to test case:
https://datatables.net/plug-ins/pagination/bootstrap_input

Debugger code (debug.datatables.net):
I've tried to use debugger, but I get following error when I click "Check for common issues":
DT_Debug.js?rand=1709303550192:867 Uncaught TypeError: Cannot read properties of null (reading 'indexOf')
at _Api.<anonymous> (DT_Debug.js?rand=1709303550192:867:17)
at _Api.iterator (datatables.js:18262:15)
at Object.fn (DT_Debug.js?rand=1709303550192:864:42)
at Object.default_1 [as common] (DT_Debug.js?rand=1709303550192:413:43)
at HTMLDivElement.<anonymous> (DT_Debug.js?rand=1709303550192:97:25)
at HTMLDivElement.dispatch (jquery-3.6.4.min.js:2:43184)
at y.handle (jquery-3.6.4.min.js:2:41168)
(anonymous) @ DT_Debug.js?rand=1709303550192:867
iterator @ datatables.js:18262
(anonymous) @ DT_Debug.js?rand=1709303550192:864
default_1 @ DT_Debug.js?rand=1709303550192:413
(anonymous) @ DT_Debug.js?rand=1709303550192:97
dispatch @ jquery-3.6.4.min.js:2
y.handle @ jquery-3.6.4.min.js:2

Clicking on "Upload configuration data" gives following error:
DT_Debug.js?rand=1709303550192:571 Uncaught TypeError: table.oInstance.fnGetData is not a function
at gatherData (DT_Debug.js?rand=1709303550192:571:39)
at DT_Debug.js?rand=1709303550192:497:13

Error messages shown:
DataTables warning: table id=table-users - Unknown paging action: input. For more information about this error, please see https://datatables.net/tn/5

Description of problem:
I'm trying to add custom button type to pagination, but whatever I do I always get above error after clicking on new button.
I wanted to use example pagination plugin, but it obviously does not work. As a matter of fact, none of the example plugins work!

I'm using DataTables version 2.0.1 (up to date, according to debugger)

Does anybody have any working custom paging solution available?


Viewing all articles
Browse latest Browse all 82431


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