Simplified example

pull/35/head
Dave Kennedy 11 years ago
parent 23207ab5f0
commit eade6c3565

@ -11,17 +11,10 @@
* @anchor ellipses * @anchor ellipses
* @author <a href="http://daveden.wordpress.com/">Dave Kennedy</a> * @author <a href="http://daveden.wordpress.com/">Dave Kennedy</a>
* @example * @example
* $('#my-table').dataTable({ * $(document).ready(function() {
* // Optional usage of extended oSettings object * $('#example').dataTable({
* 'fnInfoCallback': function(oSettings) { * 'sPaginationType': 'ellipses'
* // Update stateful properties * });
* $.fn.dataTableExt.oPagination.ellipses.fnUpdateState(oSettings);
* return 'Viewing page ' + oSettings._iCurrentPage + ' of ' + oSettings._iTotalPages;
* },
* // Optional usage of iShowPages option
* 'iShowPages': 15,
* // This is the only required option
* 'sPaginationType': 'ellipses'
* }); * });
*/ */

Loading…
Cancel
Save