Szymek
Szymek

Reputation: 163

How to display pagination without numbers

I'm using jQuery DataTables script and I don't want to see these numbers in pagination.

screenshot

Upvotes: 0

Views: 558

Answers (1)

Gyrocode.com
Gyrocode.com

Reputation: 58860

Use pagingType option with full ('First', 'Previous', 'Next' and 'Last' buttons) or simple ('Previous' and 'Next' buttons only) value to set pagination style.

For example:

$('#example').DataTable({
   "pagingType": "simple"
});

Upvotes: 3

Related Questions