You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Plugins/api/fnColumnIndexToVisible.js

19 lines
622 B
JavaScript

/**
* When DataTables removes columns from the display (bVisible or
* fnSetColumnVis) it removes these elements from the DOM, effecting the
* index value for the column positions. This function converts the data
* column index (i.e. all columns regardless of visibility) into a visible
* column index.
* @name fnColumnIndexToVisible
* @anchor fnColumnIndexToVisible
* @author <a href="http://sprymedia.co.uk">Allan Jardine</a>
*
* @example
*
*/
$.fn.dataTableExt.oApi.fnColumnIndexToVisible = function ( oSettings, iMatch )
{
return oSettings.oApi._fnColumnIndexToVisible( oSettings, iMatch );
};