Simplified example

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

@ -11,18 +11,11 @@
* @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) {
* // 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' * 'sPaginationType': 'ellipses'
* }); * });
* });
*/ */
$.extend($.fn.dataTableExt.oStdClasses, { $.extend($.fn.dataTableExt.oStdClasses, {

Loading…
Cancel
Save