PHP Classes

File: source/asset/crules/datatables-plugins/api/fnProcessingIndicator.js

Recommend this page to a friend!
  Classes of ask sa sa   Rimau waf   source/asset/crules/datatables-plugins/api/fnProcessingIndicator.js   Download  
File: source/asset/crules/datatables-plugins/api/fnProcessingIndicator.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Rimau waf
Application to configure Web server module options
Author: By
Last change:
Date: 1 year ago
Size: 894 bytes
 

Contents

Class file image Download
/** * When doing some heavy processing of your own (for example using fnOpen with * data loading from the server) it can be useful to make use of the * 'processing' indicator built-into DataTables. This plug-in function exposes * the internal DataTables function so it can be used for exactly this. * * @name fnProcessingIndicator * @summary Show and hide the DataTables processing element through the API. * @author Allan Chappell * * @param {boolean} [onoff=true] Show (`true`) or hide (`false`) the processing * element. * * @example * var table = $('#example').dataTable(); * table.fnProcessingIndicator(); // On * table.fnProcessingIndicator(false); // Off */ jQuery.fn.dataTableExt.oApi.fnProcessingIndicator = function ( oSettings, onoff ) { if ( onoff === undefined ) { onoff = true; } this.oApi._fnProcessingDisplay( oSettings, onoff ); };