diff options
Diffstat (limited to 'wqflask/wqflask/static/new/packages/DataTables/src/model')
6 files changed, 307 insertions, 307 deletions
diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.column.js b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.column.js index db54cc0c..07c0e910 100755 --- a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.column.js +++ b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.column.js @@ -5,8 +5,8 @@ * Template object for the column information object in DataTables. This object * is held in the settings aoColumns array and contains all the information that * DataTables needs about each individual column. - * - * Note that this object is related to {@link DataTable.defaults.columns} + * + * Note that this object is related to {@link DataTable.defaults.columns} * but this one is the internal data store for DataTables's cache of columns. * It should NOT be manipulated outside of DataTables. Any configuration should * be done through the initialisation options. @@ -48,9 +48,9 @@ DataTable.models.oColumn = { "bSortable": null, /** - * <code>Deprecated</code> When using fnRender, you have two options for what - * to do with the data, and this property serves as the switch. Firstly, you - * can have the sorting and filtering use the rendered value (true - default), + * <code>Deprecated</code> When using fnRender, you have two options for what + * to do with the data, and this property serves as the switch. Firstly, you + * can have the sorting and filtering use the rendered value (true - default), * or you can have the sorting and filtering us the original value (false). * * Please note that this option has now been deprecated and will be removed @@ -94,12 +94,12 @@ DataTable.models.oColumn = { * Function to get data from a cell in a column. You should <b>never</b> * access data directly through _aData internally in DataTables - always use * the method attached to this property. It allows mData to function as - * required. This function is automatically assigned by the column + * required. This function is automatically assigned by the column * initialisation method * @type function - * @param {array|object} oData The data array/object for the array + * @param {array|object} oData The data array/object for the array * (i.e. aoData[]._aData) - * @param {string} sSpecific The specific data type you want to get - + * @param {string} sSpecific The specific data type you want to get - * 'display', 'type' 'filter' 'sort' * @returns {*} The data for the cell from the given row's data * @default null @@ -107,7 +107,7 @@ DataTable.models.oColumn = { "fnGetData": null, /** - * <code>Deprecated</code> Custom display function that will be called for the + * <code>Deprecated</code> Custom display function that will be called for the * display of each cell in this column. * * Please note that this option has now been deprecated and will be removed @@ -126,12 +126,12 @@ DataTable.models.oColumn = { "fnRender": null, /** - * Function to set data for a cell in the column. You should <b>never</b> + * Function to set data for a cell in the column. You should <b>never</b> * set the data directly to _aData internally in DataTables - always use * this method. It allows mData to function as required. This function * is automatically assigned by the column initialisation method * @type function - * @param {array|object} oData The data array/object for the array + * @param {array|object} oData The data array/object for the array * (i.e. aoData[]._aData) * @param {*} sValue Value to set * @default null @@ -139,7 +139,7 @@ DataTable.models.oColumn = { "fnSetData": null, /** - * Property to read the value for the cells in the column from the data + * Property to read the value for the cells in the column from the data * source array / object. If null, then the default content is used, if a * function is given then the return from the function is used. * @type function|int|string|null @@ -166,8 +166,8 @@ DataTable.models.oColumn = { "nTh": null, /** - * Unique footer TH/TD element for this column (if there is one). Not used - * in DataTables as such, but can be used for plug-ins to reference the + * Unique footer TH/TD element for this column (if there is one). Not used + * in DataTables as such, but can be used for plug-ins to reference the * footer for each column. * @type node * @default null @@ -185,7 +185,7 @@ DataTable.models.oColumn = { * When DataTables calculates the column widths to assign to each column, * it finds the longest string in each column and then constructs a * temporary table and reads the widths from that. The problem with this - * is that "mmm" is much wider then "iiii", but the latter is a longer + * is that "mmm" is much wider then "iiii", but the latter is a longer * string - thus the calculation can go wrong (doing it properly and putting * it into an DOM object and measuring that is horribly(!) slow). Thus as * a "work around" we provide this option. It will append its value to the diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.defaults.columns.js b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.defaults.columns.js index 9387fe2c..8d56d0e7 100755 --- a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.defaults.columns.js +++ b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.defaults.columns.js @@ -6,13 +6,13 @@ */ DataTable.defaults.columns = { /** - * Allows a column's sorting to take multiple columns into account when - * doing a sort. For example first name / last name columns make sense to + * Allows a column's sorting to take multiple columns into account when + * doing a sort. For example first name / last name columns make sense to * do a multi-column sort over the two columns. * @type array * @default null <i>Takes the value of the column index automatically</i> * @dtopt Columns - * + * * @example * // Using aoColumnDefs * $(document).ready( function() { @@ -24,7 +24,7 @@ DataTable.defaults.columns = { * ] * } ); * } ); - * + * * @example * // Using aoColumns * $(document).ready( function() { @@ -49,7 +49,7 @@ DataTable.defaults.columns = { * @type array * @default [ 'asc', 'desc' ] * @dtopt Columns - * + * * @example * // Using aoColumnDefs * $(document).ready( function() { @@ -61,7 +61,7 @@ DataTable.defaults.columns = { * ] * } ); * } ); - * + * * @example * // Using aoColumns * $(document).ready( function() { @@ -84,21 +84,21 @@ DataTable.defaults.columns = { * @type boolean * @default true * @dtopt Columns - * + * * @example * // Using aoColumnDefs * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumnDefs": [ + * "aoColumnDefs": [ * { "bSearchable": false, "aTargets": [ 0 ] } * ] } ); * } ); - * + * * @example * // Using aoColumns * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumns": [ + * "aoColumns": [ * { "bSearchable": false }, * null, * null, @@ -115,21 +115,21 @@ DataTable.defaults.columns = { * @type boolean * @default true * @dtopt Columns - * + * * @example * // Using aoColumnDefs * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumnDefs": [ + * "aoColumnDefs": [ * { "bSortable": false, "aTargets": [ 0 ] } * ] } ); * } ); - * + * * @example * // Using aoColumns * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumns": [ + * "aoColumns": [ * { "bSortable": false }, * null, * null, @@ -142,11 +142,11 @@ DataTable.defaults.columns = { /** - * <code>Deprecated</code> When using fnRender() for a column, you may wish - * to use the original data (before rendering) for sorting and filtering - * (the default is to used the rendered data that the user can see). This + * <code>Deprecated</code> When using fnRender() for a column, you may wish + * to use the original data (before rendering) for sorting and filtering + * (the default is to used the rendered data that the user can see). This * may be useful for dates etc. - * + * * Please note that this option has now been deprecated and will be removed * in the next version of DataTables. Please use mRender / mData rather than * fnRender. @@ -163,21 +163,21 @@ DataTable.defaults.columns = { * @type boolean * @default true * @dtopt Columns - * + * * @example * // Using aoColumnDefs * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumnDefs": [ + * "aoColumnDefs": [ * { "bVisible": false, "aTargets": [ 0 ] } * ] } ); * } ); - * + * * @example * // Using aoColumns * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumns": [ + * "aoColumns": [ * { "bVisible": false }, * null, * null, @@ -201,7 +201,7 @@ DataTable.defaults.columns = { * @param {int} iRow The row index for the aoData data store * @param {int} iCol The column index for aoColumns * @dtopt Columns - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -220,7 +220,7 @@ DataTable.defaults.columns = { /** - * <code>Deprecated</code> Custom display function that will be called for the + * <code>Deprecated</code> Custom display function that will be called for the * display of each cell in this column. * * Please note that this option has now been deprecated and will be removed @@ -248,22 +248,22 @@ DataTable.defaults.columns = { * @type int * @default -1 <i>Use automatically calculated column index</i> * @dtopt Columns - * + * * @example * // Using aoColumnDefs * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumnDefs": [ + * "aoColumnDefs": [ * { "iDataSort": 1, "aTargets": [ 0 ] } * ] * } ); * } ); - * + * * @example * // Using aoColumns * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumns": [ + * "aoColumns": [ * { "iDataSort": 1 }, * null, * null, @@ -297,15 +297,15 @@ DataTable.defaults.columns = { * data source.</li> * <li>null - the sDefaultContent option will be used for the cell (null * by default, so you will need to specify the default content you want - - * typically an empty string). This can be useful on generated columns such + * typically an empty string). This can be useful on generated columns such * as edit / delete action columns.</li> - * <li>function - the function given will be executed whenever DataTables - * needs to set or get the data for a cell in the column. The function + * <li>function - the function given will be executed whenever DataTables + * needs to set or get the data for a cell in the column. The function * takes three parameters: * <ul> * <li>{array|object} The data source for the row</li> * <li>{string} The type call data requested - this will be 'set' when - * setting data or 'filter', 'display', 'type', 'sort' or undefined when + * setting data or 'filter', 'display', 'type', 'sort' or undefined when * gathering data. Note that when <i>undefined</i> is given for the type * DataTables expects to get the raw data for the object back</li> * <li>{*} Data to set when the second parameter is 'set'.</li> @@ -322,7 +322,7 @@ DataTable.defaults.columns = { * @type string|int|function|null * @default null <i>Use automatically calculated column index</i> * @dtopt Columns - * + * * @example * // Read table data from objects * $(document).ready( function() { @@ -337,7 +337,7 @@ DataTable.defaults.columns = { * ] * } ); * } ); - * + * * @example * // Using mData as a function to provide different information for * // sorting, filtering and display. In this case, currency (price) @@ -375,7 +375,7 @@ DataTable.defaults.columns = { * but not altering the underlying data for the table, use this property. mData * can actually do everything this property can and more, but this parameter is * easier to use since there is no 'set' option. Like mData is can be given - * in a number of different ways to effect its behaviour, with the addition of + * in a number of different ways to effect its behaviour, with the addition of * supporting array syntax for easy outputting of arrays (including arrays of * objects): * <ul> @@ -388,12 +388,12 @@ DataTable.defaults.columns = { * brackets, these characters are used to join the data source array together. * For example: "accounts[, ].name" would result in a comma separated list with * the 'name' value from the 'accounts' array of objects.</li> - * <li>function - the function given will be executed whenever DataTables - * needs to set or get the data for a cell in the column. The function + * <li>function - the function given will be executed whenever DataTables + * needs to set or get the data for a cell in the column. The function * takes three parameters: * <ul> * <li>{array|object} The data source for the row (based on mData)</li> - * <li>{string} The type call data requested - this will be 'filter', 'display', + * <li>{string} The type call data requested - this will be 'filter', 'display', * 'type' or 'sort'.</li> * <li>{array|object} The full data source for the row (not based on mData)</li> * </ul> @@ -403,7 +403,7 @@ DataTable.defaults.columns = { * @type string|int|function|null * @default null <i>Use mData</i> * @dtopt Columns - * + * * @example * // Create a comma separated list from an array of objects * $(document).ready( function() { @@ -419,7 +419,7 @@ DataTable.defaults.columns = { * ] * } ); * } ); - * + * * @example * // Use as a function to create a link from the data source * $(document).ready( function() { @@ -445,7 +445,7 @@ DataTable.defaults.columns = { * @type string * @default td * @dtopt Columns - * + * * @example * // Make the first column use TH cells * $(document).ready( function() { @@ -465,22 +465,22 @@ DataTable.defaults.columns = { * @type string * @default <i>Empty string</i> * @dtopt Columns - * + * * @example * // Using aoColumnDefs * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumnDefs": [ + * "aoColumnDefs": [ * { "sClass": "my_class", "aTargets": [ 0 ] } * ] * } ); * } ); - * + * * @example * // Using aoColumns * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumns": [ + * "aoColumns": [ * { "sClass": "my_class" }, * null, * null, @@ -496,22 +496,22 @@ DataTable.defaults.columns = { * When DataTables calculates the column widths to assign to each column, * it finds the longest string in each column and then constructs a * temporary table and reads the widths from that. The problem with this - * is that "mmm" is much wider then "iiii", but the latter is a longer + * is that "mmm" is much wider then "iiii", but the latter is a longer * string - thus the calculation can go wrong (doing it properly and putting * it into an DOM object and measuring that is horribly(!) slow). Thus as * a "work around" we provide this option. It will append its value to the * text that is found to be the longest string for the column - i.e. padding. - * Generally you shouldn't need this, and it is not documented on the + * Generally you shouldn't need this, and it is not documented on the * general DataTables.net documentation * @type string * @default <i>Empty string<i> * @dtopt Columns - * + * * @example * // Using aoColumns * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumns": [ + * "aoColumns": [ * null, * null, * null, @@ -532,12 +532,12 @@ DataTable.defaults.columns = { * @type string * @default null * @dtopt Columns - * + * * @example * // Using aoColumnDefs * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumnDefs": [ + * "aoColumnDefs": [ * { * "mData": null, * "sDefaultContent": "Edit", @@ -546,12 +546,12 @@ DataTable.defaults.columns = { * ] * } ); * } ); - * + * * @example * // Using aoColumns * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumns": [ + * "aoColumns": [ * null, * null, * null, @@ -576,12 +576,12 @@ DataTable.defaults.columns = { * @type string * @default <i>Empty string</i> * @dtopt Columns - * + * * @example * // Using aoColumnDefs * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumnDefs": [ + * "aoColumnDefs": [ * { "sName": "engine", "aTargets": [ 0 ] }, * { "sName": "browser", "aTargets": [ 1 ] }, * { "sName": "platform", "aTargets": [ 2 ] }, @@ -590,12 +590,12 @@ DataTable.defaults.columns = { * ] * } ); * } ); - * + * * @example * // Using aoColumns * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumns": [ + * "aoColumns": [ * { "sName": "engine" }, * { "sName": "browser" }, * { "sName": "platform" }, @@ -616,7 +616,7 @@ DataTable.defaults.columns = { * @type string * @default std * @dtopt Columns - * + * * @example * // Using aoColumnDefs * $(document).ready( function() { @@ -629,7 +629,7 @@ DataTable.defaults.columns = { * ] * } ); * } ); - * + * * @example * // Using aoColumns * $(document).ready( function() { @@ -651,25 +651,25 @@ DataTable.defaults.columns = { /** * The title of this column. * @type string - * @default null <i>Derived from the 'TH' value for this column in the + * @default null <i>Derived from the 'TH' value for this column in the * original HTML table.</i> * @dtopt Columns - * + * * @example * // Using aoColumnDefs * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumnDefs": [ + * "aoColumnDefs": [ * { "sTitle": "My column title", "aTargets": [ 0 ] } * ] * } ); * } ); - * + * * @example * // Using aoColumns * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumns": [ + * "aoColumns": [ * { "sTitle": "My column title" }, * null, * null, @@ -693,22 +693,22 @@ DataTable.defaults.columns = { * @type string * @default null <i>Auto-detected from raw data</i> * @dtopt Columns - * + * * @example * // Using aoColumnDefs * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumnDefs": [ + * "aoColumnDefs": [ * { "sType": "html", "aTargets": [ 0 ] } * ] * } ); * } ); - * + * * @example * // Using aoColumns * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumns": [ + * "aoColumns": [ * { "sType": "html" }, * null, * null, @@ -729,22 +729,22 @@ DataTable.defaults.columns = { * @type string * @default null <i>Automatic</i> * @dtopt Columns - * + * * @example * // Using aoColumnDefs * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumnDefs": [ + * "aoColumnDefs": [ * { "sWidth": "20%", "aTargets": [ 0 ] } * ] * } ); * } ); - * + * * @example * // Using aoColumns * $(document).ready( function() { * $('#example').dataTable( { - * "aoColumns": [ + * "aoColumns": [ * { "sWidth": "20%" }, * null, * null, diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.defaults.js b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.defaults.js index 779f19d8..16ee0d0c 100755 --- a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.defaults.js +++ b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.defaults.js @@ -1,20 +1,20 @@ /** - * Initialisation options that can be given to DataTables at initialisation + * Initialisation options that can be given to DataTables at initialisation * time. * @namespace */ DataTable.defaults = { /** - * An array of data to use for the table, passed in at initialisation which + * An array of data to use for the table, passed in at initialisation which * will be used in preference to any data which is already in the DOM. This is * particularly useful for constructing tables purely in Javascript, for * example with a custom Ajax call. * @type array * @default null * @dtopt Option - * + * * @example * // Using a 2D array data source * $(document).ready( function () { @@ -32,7 +32,7 @@ DataTable.defaults = { * ] * } ); * } ); - * + * * @example * // Using an array of objects as a data source (mData) * $(document).ready( function () { @@ -67,15 +67,15 @@ DataTable.defaults = { /** - * If sorting is enabled, then DataTables will perform a first pass sort on - * initialisation. You can define which column(s) the sort is performed upon, - * and the sorting direction, with this variable. The aaSorting array should - * contain an array for each column to be sorted initially containing the + * If sorting is enabled, then DataTables will perform a first pass sort on + * initialisation. You can define which column(s) the sort is performed upon, + * and the sorting direction, with this variable. The aaSorting array should + * contain an array for each column to be sorted initially containing the * column's index and a direction string ('asc' or 'desc'). * @type array * @default [[0,'asc']] * @dtopt Option - * + * * @example * // Sort by 3rd column first, and then 4th column * $(document).ready( function() { @@ -83,7 +83,7 @@ DataTable.defaults = { * "aaSorting": [[2,'asc'], [3,'desc']] * } ); * } ); - * + * * // No initial sorting * $(document).ready( function() { * $('#example').dataTable( { @@ -95,16 +95,16 @@ DataTable.defaults = { /** - * This parameter is basically identical to the aaSorting parameter, but - * cannot be overridden by user interaction with the table. What this means - * is that you could have a column (visible or hidden) which the sorting will - * always be forced on first - any sorting after that (from the user) will - * then be performed as required. This can be useful for grouping rows + * This parameter is basically identical to the aaSorting parameter, but + * cannot be overridden by user interaction with the table. What this means + * is that you could have a column (visible or hidden) which the sorting will + * always be forced on first - any sorting after that (from the user) will + * then be performed as required. This can be useful for grouping rows * together. * @type array * @default null * @dtopt Option - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -117,22 +117,22 @@ DataTable.defaults = { /** * This parameter allows you to readily specify the entries in the length drop - * down menu that DataTables shows when pagination is enabled. It can be - * either a 1D array of options which will be used for both the displayed - * option and the value, or a 2D array which will use the array in the first - * position as the value, and the array in the second position as the + * down menu that DataTables shows when pagination is enabled. It can be + * either a 1D array of options which will be used for both the displayed + * option and the value, or a 2D array which will use the array in the first + * position as the value, and the array in the second position as the * displayed options (useful for language strings such as 'All'). * @type array * @default [ 10, 25, 50, 100 ] * @dtopt Option - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { * "aLengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]] * } ); * } ); - * + * * @example * // Setting the default display length as well as length menu * // This is likely to be wanted if you remove the '10' option which @@ -150,7 +150,7 @@ DataTable.defaults = { /** * The aoColumns option in the initialisation parameter allows you to define * details about the way individual columns behave. For a full list of - * column options that can be set, please see + * column options that can be set, please see * {@link DataTable.defaults.columns}. Note that if you use aoColumns to * define your columns, you must have an entry in the array for every single * column that you have in your table (these can be null if you don't which @@ -160,11 +160,11 @@ DataTable.defaults = { "aoColumns": null, /** - * Very similar to aoColumns, aoColumnDefs allows you to target a specific - * column, multiple columns, or all columns, using the aTargets property of - * each object in the array. This allows great flexibility when creating - * tables, as the aoColumnDefs arrays can be of any length, targeting the - * columns you specifically want. aoColumnDefs may use any of the column + * Very similar to aoColumns, aoColumnDefs allows you to target a specific + * column, multiple columns, or all columns, using the aTargets property of + * each object in the array. This allows great flexibility when creating + * tables, as the aoColumnDefs arrays can be of any length, targeting the + * columns you specifically want. aoColumnDefs may use any of the column * options available: {@link DataTable.defaults.columns}, but it _must_ * have aTargets defined in each object in the array. Values in the aTargets * array may be: @@ -181,14 +181,14 @@ DataTable.defaults = { /** * Basically the same as oSearch, this parameter defines the individual column - * filtering state at initialisation time. The array must be of the same size + * filtering state at initialisation time. The array must be of the same size * as the number of columns, and each element be an object with the parameters * "sSearch" and "bEscapeRegex" (the latter is optional). 'null' is also * accepted and the default will be used. * @type array * @default [] * @dtopt Option - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -205,14 +205,14 @@ DataTable.defaults = { /** - * An array of CSS classes that should be applied to displayed rows. This - * array may be of any length, and DataTables will apply each class + * An array of CSS classes that should be applied to displayed rows. This + * array may be of any length, and DataTables will apply each class * sequentially, looping when required. * @type array * @default null <i>Will take the values determined by the oClasses.sStripe* * options</i> * @dtopt Option - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -230,7 +230,7 @@ DataTable.defaults = { * @type boolean * @default true * @dtopt Features - * + * * @example * $(document).ready( function () { * $('#example').dataTable( { @@ -250,7 +250,7 @@ DataTable.defaults = { * @type boolean * @default false * @dtopt Features - * + * * @example * $(document).ready( function() { * var oTable = $('#example').dataTable( { @@ -263,21 +263,21 @@ DataTable.defaults = { /** - * Replace a DataTable which matches the given selector and replace it with + * Replace a DataTable which matches the given selector and replace it with * one which has the properties of the new initialisation object passed. If no * table matches the selector, then the new DataTable will be constructed as * per normal. * @type boolean * @default false * @dtopt Options - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { * "sScrollY": "200px", * "bPaginate": false * } ); - * + * * // Some time later.... * $('#example').dataTable( { * "bFilter": false, @@ -299,7 +299,7 @@ DataTable.defaults = { * @type boolean * @default true * @dtopt Features - * + * * @example * $(document).ready( function () { * $('#example').dataTable( { @@ -311,13 +311,13 @@ DataTable.defaults = { /** - * Enable or disable the table information display. This shows information + * Enable or disable the table information display. This shows information * about the data that is currently visible on the page, including information * about filtered data if that action is being performed. * @type boolean * @default true * @dtopt Features - * + * * @example * $(document).ready( function () { * $('#example').dataTable( { @@ -335,7 +335,7 @@ DataTable.defaults = { * @type boolean * @default false * @dtopt Features - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -352,7 +352,7 @@ DataTable.defaults = { * @type boolean * @default true * @dtopt Features - * + * * @example * $(document).ready( function () { * $('#example').dataTable( { @@ -368,7 +368,7 @@ DataTable.defaults = { * @type boolean * @default true * @dtopt Features - * + * * @example * $(document).ready( function () { * $('#example').dataTable( { @@ -387,7 +387,7 @@ DataTable.defaults = { * @type boolean * @default false * @dtopt Features - * + * * @example * $(document).ready( function () { * $('#example').dataTable( { @@ -409,13 +409,13 @@ DataTable.defaults = { * @type boolean * @default false * @dtopt Options - * + * * @example * $(document).ready( function() { * initTable(); * tableActions(); * } ); - * + * * function initTable () * { * return $('#example').dataTable( { @@ -424,11 +424,11 @@ DataTable.defaults = { * "bRetrieve": true * } ); * } - * + * * function tableActions () * { * var oTable = initTable(); - * // perform API operations with oTable + * // perform API operations with oTable * } */ "bRetrieve": false, @@ -441,7 +441,7 @@ DataTable.defaults = { * @type boolean * @default true * @dtopt Options - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -463,7 +463,7 @@ DataTable.defaults = { * @type boolean * @default false * @dtopt Options - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -485,7 +485,7 @@ DataTable.defaults = { * @type boolean * @default false * @dtopt Features - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -506,7 +506,7 @@ DataTable.defaults = { * @default false * @dtopt Features * @dtopt Server-side - * + * * @example * $(document).ready( function () { * $('#example').dataTable( { @@ -524,7 +524,7 @@ DataTable.defaults = { * @type boolean * @default true * @dtopt Features - * + * * @example * $(document).ready( function () { * $('#example').dataTable( { @@ -542,7 +542,7 @@ DataTable.defaults = { * @type boolean * @default false * @dtopt Options - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -562,7 +562,7 @@ DataTable.defaults = { * @type boolean * @default true * @dtopt Features - * + * * @example * $(document).ready( function () { * $('#example').dataTable( { @@ -581,7 +581,7 @@ DataTable.defaults = { * @type boolean * @default false * @dtopt Features - * + * * @example * $(document).ready( function () { * $('#example').dataTable( { @@ -606,7 +606,7 @@ DataTable.defaults = { * @returns {string} Cookie formatted string (which should be encoded by * using encodeURIComponent()) * @dtopt Callbacks - * + * * @example * $(document).ready( function () { * $('#example').dataTable( { @@ -629,7 +629,7 @@ DataTable.defaults = { * @param {array} aData Raw data array for this row * @param {int} iDataIndex The index of this row in aoData * @dtopt Callbacks - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -652,7 +652,7 @@ DataTable.defaults = { * @type function * @param {object} oSettings DataTables settings object * @dtopt Callbacks - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -671,14 +671,14 @@ DataTable.defaults = { * @type function * @param {node} nFoot "TR" element for the footer * @param {array} aData Full table data (as derived from the original HTML) - * @param {int} iStart Index for the current display starting point in the + * @param {int} iStart Index for the current display starting point in the * display array - * @param {int} iEnd Index for the current display ending point in the + * @param {int} iEnd Index for the current display ending point in the * display array * @param {array int} aiDisplay Index array to translate the visual position * to the full data array * @dtopt Callbacks - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -702,7 +702,7 @@ DataTable.defaults = { * @param {int} iIn number to be formatted * @returns {string} formatted string for DataTables to show the number * @dtopt Callbacks - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -710,11 +710,11 @@ DataTable.defaults = { * if ( iIn < 1000 ) { * return iIn; * } else { - * var - * s=(iIn+""), - * a=s.split(""), out="", + * var + * s=(iIn+""), + * a=s.split(""), out="", * iLen=s.length; - * + * * for ( var i=0 ; i<iLen ; i++ ) { * if ( i%3 === 0 && i !== 0 ) { * out = "'"+out; @@ -762,7 +762,7 @@ DataTable.defaults = { * @param {array int} aiDisplay Index array to translate the visual position * to the full data array * @dtopt Callbacks - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -792,7 +792,7 @@ DataTable.defaults = { * own rules * @returns {string} The string to be displayed in the information element. * @dtopt Callbacks - * + * * @example * $('#example').dataTable( { * "fnInfoCallback": function( oSettings, iStart, iEnd, iMax, iTotal, sPre ) { @@ -813,7 +813,7 @@ DataTable.defaults = { * @param {object} json The JSON object request from the server - only * present if client-side Ajax sourced data is used * @dtopt Callbacks - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -835,7 +835,7 @@ DataTable.defaults = { * @returns {boolean} False will cancel the draw, anything else (including no * return) will allow it to complete. * @dtopt Callbacks - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -861,7 +861,7 @@ DataTable.defaults = { * @param {int} iDisplayIndexFull The index of the data in the full list of * rows (after filtering) * @dtopt Callbacks - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -893,7 +893,7 @@ DataTable.defaults = { * @param {object} oSettings DataTables settings object * @dtopt Callbacks * @dtopt Server-side - * + * * @example * // POST data to server * $(document).ready( function() { @@ -903,10 +903,10 @@ DataTable.defaults = { * "sAjaxSource": "xhr.php", * "fnServerData": function ( sSource, aoData, fnCallback, oSettings ) { * oSettings.jqXHR = $.ajax( { - * "dataType": 'json', - * "type": "POST", - * "url": sSource, - * "data": aoData, + * "dataType": 'json', + * "type": "POST", + * "url": sSource, + * "data": aoData, * "success": fnCallback * } ); * } @@ -954,7 +954,7 @@ DataTable.defaults = { * as this is passed by reference. * @dtopt Callbacks * @dtopt Server-side - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -979,14 +979,14 @@ DataTable.defaults = { * @param {object} oSettings DataTables settings object * @return {object} The DataTables state object to be loaded * @dtopt Callbacks - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { * "bStateSave": true, * "fnStateLoad": function (oSettings) { * var o; - * + * * // Send an Ajax request to the server to get the data. Note that * // this is a synchronous request. * $.ajax( { @@ -997,7 +997,7 @@ DataTable.defaults = { * o = json; * } * } ); - * + * * return o; * } * } ); @@ -1008,7 +1008,7 @@ DataTable.defaults = { var oData; try { - oData = (typeof $.parseJSON === 'function') ? + oData = (typeof $.parseJSON === 'function') ? $.parseJSON(sData) : eval( '('+sData+')' ); } catch (e) { oData = null; @@ -1021,14 +1021,14 @@ DataTable.defaults = { /** * Callback which allows modification of the saved state prior to loading that state. * This callback is called when the table is loading state from the stored data, but - * prior to the settings object being modified by the saved state. Note that for - * plug-in authors, you should use the 'stateLoadParams' event to load parameters for + * prior to the settings object being modified by the saved state. Note that for + * plug-in authors, you should use the 'stateLoadParams' event to load parameters for * a plug-in. * @type function * @param {object} oSettings DataTables settings object * @param {object} oData The state object that is to be loaded * @dtopt Callbacks - * + * * @example * // Remove a saved filter, so filtering is never loaded * $(document).ready( function() { @@ -1039,7 +1039,7 @@ DataTable.defaults = { * } * } ); * } ); - * + * * @example * // Disallow state loading by returning false * $(document).ready( function() { @@ -1061,7 +1061,7 @@ DataTable.defaults = { * @param {object} oSettings DataTables settings object * @param {object} oData The state object that was loaded * @dtopt Callbacks - * + * * @example * // Show an alert with the filtering value that was saved * $(document).ready( function() { @@ -1085,7 +1085,7 @@ DataTable.defaults = { * @param {object} oSettings DataTables settings object * @param {object} oData The state object to be saved * @dtopt Callbacks - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1104,27 +1104,27 @@ DataTable.defaults = { * } ); */ "fnStateSave": function ( oSettings, oData ) { - this.oApi._fnCreateCookie( - oSettings.sCookiePrefix+oSettings.sInstance, - this.oApi._fnJsonString(oData), - oSettings.iCookieDuration, - oSettings.sCookiePrefix, + this.oApi._fnCreateCookie( + oSettings.sCookiePrefix+oSettings.sInstance, + this.oApi._fnJsonString(oData), + oSettings.iCookieDuration, + oSettings.sCookiePrefix, oSettings.fnCookieCallback ); }, /** - * Callback which allows modification of the state to be saved. Called when the table + * Callback which allows modification of the state to be saved. Called when the table * has changed state a new state save is required. This method allows modification of - * the state saving object prior to actually doing the save, including addition or - * other state properties or modification. Note that for plug-in authors, you should + * the state saving object prior to actually doing the save, including addition or + * other state properties or modification. Note that for plug-in authors, you should * use the 'stateSaveParams' event to save parameters for a plug-in. * @type function * @param {object} oSettings DataTables settings object * @param {object} oData The state object to be saved * @dtopt Callbacks - * + * * @example * // Remove a saved filter, so filtering is never saved * $(document).ready( function() { @@ -1145,7 +1145,7 @@ DataTable.defaults = { * @type int * @default 7200 <i>(2 hours)</i> * @dtopt Options - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1171,7 +1171,7 @@ DataTable.defaults = { * @type int | array * @default null * @dtopt Options - * + * * @example * // 57 records available in the table, no filtering applied * $(document).ready( function() { @@ -1181,7 +1181,7 @@ DataTable.defaults = { * "iDeferLoading": 57 * } ); * } ); - * + * * @example * // 57 records after filtering, 100 without filtering (an initial filter applied) * $(document).ready( function() { @@ -1205,7 +1205,7 @@ DataTable.defaults = { * @type int * @default 10 * @dtopt Options - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1224,7 +1224,7 @@ DataTable.defaults = { * @type int * @default 0 * @dtopt Options - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1243,7 +1243,7 @@ DataTable.defaults = { * @type int * @default 100 * @dtopt Options - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1267,7 +1267,7 @@ DataTable.defaults = { * @type int * @default 0 * @dtopt Options - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1299,7 +1299,7 @@ DataTable.defaults = { * @type string * @default : activate to sort column ascending * @dtopt Language - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1320,7 +1320,7 @@ DataTable.defaults = { * @type string * @default : activate to sort column ascending * @dtopt Language - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1347,7 +1347,7 @@ DataTable.defaults = { * @type string * @default First * @dtopt Language - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1368,7 +1368,7 @@ DataTable.defaults = { * @type string * @default Last * @dtopt Language - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1384,12 +1384,12 @@ DataTable.defaults = { /** - * Text to use for the 'next' pagination button (to take the user to the + * Text to use for the 'next' pagination button (to take the user to the * next page). * @type string * @default Next * @dtopt Language - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1405,12 +1405,12 @@ DataTable.defaults = { /** - * Text to use for the 'previous' pagination button (to take the user to + * Text to use for the 'previous' pagination button (to take the user to * the previous page). * @type string * @default Previous * @dtopt Language - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1433,7 +1433,7 @@ DataTable.defaults = { * @type string * @default No data available in table * @dtopt Language - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1447,14 +1447,14 @@ DataTable.defaults = { /** - * This string gives information to the end user about the information that - * is current on display on the page. The _START_, _END_ and _TOTAL_ - * variables are all dynamically replaced as the table display updates, and + * This string gives information to the end user about the information that + * is current on display on the page. The _START_, _END_ and _TOTAL_ + * variables are all dynamically replaced as the table display updates, and * can be freely moved or removed as the language requirements change. * @type string * @default Showing _START_ to _END_ of _TOTAL_ entries * @dtopt Language - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1468,12 +1468,12 @@ DataTable.defaults = { /** - * Display information string for when the table is empty. Typically the + * Display information string for when the table is empty. Typically the * format of this string should match sInfo. * @type string * @default Showing 0 to 0 of 0 entries * @dtopt Language - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1487,13 +1487,13 @@ DataTable.defaults = { /** - * When a user filters the information in a table, this string is appended - * to the information (sInfo) to give an idea of how strong the filtering + * When a user filters the information in a table, this string is appended + * to the information (sInfo) to give an idea of how strong the filtering * is. The variable _MAX_ is dynamically updated. * @type string * @default (filtered from _MAX_ total entries) * @dtopt Language - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1514,7 +1514,7 @@ DataTable.defaults = { * @type string * @default <i>Empty string</i> * @dtopt Language - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1535,7 +1535,7 @@ DataTable.defaults = { * @type string * @default , * @dtopt Language - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1556,7 +1556,7 @@ DataTable.defaults = { * @type string * @default Show _MENU_ entries * @dtopt Language - * + * * @example * // Language change only * $(document).ready( function() { @@ -1566,7 +1566,7 @@ DataTable.defaults = { * } * } ); * } ); - * + * * @example * // Language and options change * $(document).ready( function() { @@ -1596,7 +1596,7 @@ DataTable.defaults = { * @type string * @default Loading... * @dtopt Language - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1615,7 +1615,7 @@ DataTable.defaults = { * @type string * @default Processing... * @dtopt Language - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1637,7 +1637,7 @@ DataTable.defaults = { * @type string * @default Search: * @dtopt Language - * + * * @example * // Input text box will be appended at the end automatically * $(document).ready( function() { @@ -1647,7 +1647,7 @@ DataTable.defaults = { * } * } ); * } ); - * + * * @example * // Specify where the filter should appear * $(document).ready( function() { @@ -1671,7 +1671,7 @@ DataTable.defaults = { * @type string * @default <i>Empty string - i.e. disabled</i> * @dtopt Language - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1691,7 +1691,7 @@ DataTable.defaults = { * @type string * @default No matching records found * @dtopt Language - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1716,7 +1716,7 @@ DataTable.defaults = { * @namespace * @extends DataTable.models.oSearch * @dtopt Options - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1736,7 +1736,7 @@ DataTable.defaults = { * @default aaData * @dtopt Options * @dtopt Server-side - * + * * @example * // Get data from { "data": [...] } * $(document).ready( function() { @@ -1745,7 +1745,7 @@ DataTable.defaults = { * "sAjaxDataProp": "data" * } ); * } ); - * + * * @example * // Get data from { "data": { "inner": [...] } } * $(document).ready( function() { @@ -1767,7 +1767,7 @@ DataTable.defaults = { * @default null * @dtopt Options * @dtopt Server-side - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1784,7 +1784,7 @@ DataTable.defaults = { * @type string * @default SpryMedia_DataTables_ * @dtopt Options - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1833,10 +1833,10 @@ DataTable.defaults = { * </li> * </ul> * @type string - * @default lfrtip <i>(when bJQueryUI is false)</i> <b>or</b> + * @default lfrtip <i>(when bJQueryUI is false)</i> <b>or</b> * <"H"lfr>t<"F"ip> <i>(when bJQueryUI is true)</i> * @dtopt Options - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1854,7 +1854,7 @@ DataTable.defaults = { * @type string * @default two_button * @dtopt Options - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1874,7 +1874,7 @@ DataTable.defaults = { * @type string * @default <i>blank string - i.e. disabled</i> * @dtopt Features - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1896,7 +1896,7 @@ DataTable.defaults = { * @type string * @default <i>blank string - i.e. disabled</i> * @dtopt Options - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1918,7 +1918,7 @@ DataTable.defaults = { * @type string * @default <i>blank string - i.e. disabled</i> * @dtopt Features - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { @@ -1937,7 +1937,7 @@ DataTable.defaults = { * @default GET * @dtopt Options * @dtopt Server-side - * + * * @example * $(document).ready( function() { * $('#example').dataTable( { diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.ext.js b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.ext.js index 45566a62..7a5fba0a 100755 --- a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.ext.js +++ b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.ext.js @@ -5,7 +5,7 @@ * for plug-ins that can be used to extend the default DataTables behaviour - indeed many * of the build in methods use this method to provide their own capabilities (sorting methods * for example). - * + * * Note that this namespace is aliased to jQuery.fn.dataTableExt so it can be readily accessed * and modified by plug-ins. * @namespace @@ -40,7 +40,7 @@ DataTable.models.ext = { * * @example * // The following example shows custom filtering being applied to the fourth column (i.e. - * // the aData[3] index) based on two input values from the end-user, matching the data in + * // the aData[3] index) based on two input values from the end-user, matching the data in * // a certain range. * $.fn.dataTableExt.afnFiltering.push( * function( oSettings, aData, iDataIndex ) { @@ -74,7 +74,7 @@ DataTable.models.ext = { * static string that DataTables knows of. The way these plug-ins work is that you create * an array of the values you wish to be sorted for the column in question and then return * that array. Which pre-sorting function is run here depends on the sSortDataType parameter - * that is used for the column (if any). This is the corollary of <i>ofnSearch</i> for sort + * that is used for the column (if any). This is the corollary of <i>ofnSearch</i> for sort * data. * <ul> * <li> @@ -91,10 +91,10 @@ DataTable.models.ext = { * </ul> * </il> * </ul> - * + * * Note that as of v1.9, it is typically preferable to use <i>mData</i> to prepare data for * the different uses that DataTables can put the data to. Specifically <i>mData</i> when - * used as a function will give you a 'type' (sorting, filtering etc) that you can use to + * used as a function will give you a 'type' (sorting, filtering etc) that you can use to * prepare the data as required for the different types. As such, this method is deprecated. * @type array * @default [] @@ -133,8 +133,8 @@ DataTable.models.ext = { * Function return: * <ul> * <li>{node|null} The element which contains your feature. Note that the return - * may also be void if your plug-in does not require to inject any DOM elements - * into DataTables control (sDom) - for example this might be useful when + * may also be void if your plug-in does not require to inject any DOM elements + * into DataTables control (sDom) - for example this might be useful when * developing a plug-in which allows table control via keyboard entry.</li> * </ul> * </il> @@ -145,7 +145,7 @@ DataTable.models.ext = { * </ul> * @type array * @default [] - * + * * @example * // How TableTools initialises itself. * $.fn.dataTableExt.aoFeatures.push( { @@ -163,7 +163,7 @@ DataTable.models.ext = { * Type detection plug-in functions - DataTables utilises types to define how sorting and * filtering behave, and types can be either be defined by the developer (sType for the * column) or they can be automatically detected by the methods in this array. The functions - * defined in the array are quite simple, taking a single parameter (the data to analyse) + * defined in the array are quite simple, taking a single parameter (the data to analyse) * and returning the type if it is a known type, or null otherwise. * <ul> * <li> @@ -182,22 +182,22 @@ DataTable.models.ext = { * </ul> * @type array * @default [] - * + * * @example * // Currency type detection plug-in: * jQuery.fn.dataTableExt.aTypes.push( * function ( sData ) { * var sValidChars = "0123456789.-"; * var Char; - * + * * // Check the numeric part * for ( i=1 ; i<sData.length ; i++ ) { - * Char = sData.charAt(i); + * Char = sData.charAt(i); * if (sValidChars.indexOf(Char) == -1) { * return null; * } * } - * + * * // Check prefixed by currency * if ( sData.charAt(0) == '$' || sData.charAt(0) == '£' ) { * return 'currency'; @@ -210,12 +210,12 @@ DataTable.models.ext = { /** - * Provide a common method for plug-ins to check the version of DataTables being used, + * Provide a common method for plug-ins to check the version of DataTables being used, * in order to ensure compatibility. * @type function - * @param {string} sVersion Version string to check for, in the format "X.Y.Z". Note + * @param {string} sVersion Version string to check for, in the format "X.Y.Z". Note * that the formats "X" and "X.Y" are also acceptable. - * @returns {boolean} true if this version of DataTables is greater or equal to the + * @returns {boolean} true if this version of DataTables is greater or equal to the * required version, or false if this version of DataTales is not suitable * * @example @@ -237,10 +237,10 @@ DataTable.models.ext = { /** * Pre-processing of filtering data plug-ins - When you assign the sType for a column - * (or have it automatically detected for you by DataTables or a type detection plug-in), - * you will typically be using this for custom sorting, but it can also be used to provide + * (or have it automatically detected for you by DataTables or a type detection plug-in), + * you will typically be using this for custom sorting, but it can also be used to provide * custom filtering by allowing you to pre-processing the data and returning the data in - * the format that should be filtered upon. This is done by adding functions this object + * the format that should be filtered upon. This is done by adding functions this object * with a parameter name which matches the sType for that target column. This is the * corollary of <i>afnSortData</i> for filtering data. * <ul> @@ -257,10 +257,10 @@ DataTable.models.ext = { * </ul> * </il> * </ul> - * + * * Note that as of v1.9, it is typically preferable to use <i>mData</i> to prepare data for * the different uses that DataTables can put the data to. Specifically <i>mData</i> when - * used as a function will give you a 'type' (sorting, filtering etc) that you can use to + * used as a function will give you a 'type' (sorting, filtering etc) that you can use to * prepare the data as required for the different types. As such, this method is deprecated. * @type object * @default {} @@ -299,8 +299,8 @@ DataTable.models.ext = { /** - * Pagination plug-in methods - The style and controls of the pagination can significantly - * impact on how the end user interacts with the data in your table, and DataTables allows + * Pagination plug-in methods - The style and controls of the pagination can significantly + * impact on how the end user interacts with the data in your table, and DataTables allows * the addition of pagination controls by extending this object, which can then be enabled * through the <i>sPaginationType</i> initialisation parameter. Each pagination type that * is added is an object (the property name of which is what <i>sPaginationType</i> refers @@ -308,12 +308,12 @@ DataTable.models.ext = { * control's state. * <ul> * <li> - * fnInit - Initialisation of the paging controls. Called only during initialisation - * of the table. It is expected that this function will add the required DOM elements - * to the page for the paging controls to work. The element pointer - * 'oSettings.aanFeatures.p' array is provided by DataTables to contain the paging - * controls (note that this is a 2D array to allow for multiple instances of each - * DataTables DOM element). It is suggested that you add the controls to this element + * fnInit - Initialisation of the paging controls. Called only during initialisation + * of the table. It is expected that this function will add the required DOM elements + * to the page for the paging controls to work. The element pointer + * 'oSettings.aanFeatures.p' array is provided by DataTables to contain the paging + * controls (note that this is a 2D array to allow for multiple instances of each + * DataTables DOM element). It is suggested that you add the controls to this element * as children * <ul> * <li> @@ -335,7 +335,7 @@ DataTable.models.ext = { * </il> * <li> * fnInit - This function is called whenever the paging status of the table changes and is - * typically used to update classes and/or text of the paging controls to reflex the new + * typically used to update classes and/or text of the paging controls to reflex the new * status. * <ul> * <li> @@ -365,53 +365,53 @@ DataTable.models.ext = { * nPrevious = document.createElement( 'span' ); * nNext = document.createElement( 'span' ); * nLast = document.createElement( 'span' ); - * + * * nFirst.appendChild( document.createTextNode( oSettings.oLanguage.oPaginate.sFirst ) ); * nPrevious.appendChild( document.createTextNode( oSettings.oLanguage.oPaginate.sPrevious ) ); * nNext.appendChild( document.createTextNode( oSettings.oLanguage.oPaginate.sNext ) ); * nLast.appendChild( document.createTextNode( oSettings.oLanguage.oPaginate.sLast ) ); - * + * * nFirst.className = "paginate_button first"; * nPrevious.className = "paginate_button previous"; * nNext.className="paginate_button next"; * nLast.className = "paginate_button last"; - * + * * nPaging.appendChild( nFirst ); * nPaging.appendChild( nPrevious ); * nPaging.appendChild( nNext ); * nPaging.appendChild( nLast ); - * + * * $(nFirst).click( function () { * oSettings.oApi._fnPageChange( oSettings, "first" ); * fnCallbackDraw( oSettings ); * } ); - * + * * $(nPrevious).click( function() { * oSettings.oApi._fnPageChange( oSettings, "previous" ); * fnCallbackDraw( oSettings ); * } ); - * + * * $(nNext).click( function() { * oSettings.oApi._fnPageChange( oSettings, "next" ); * fnCallbackDraw( oSettings ); * } ); - * + * * $(nLast).click( function() { * oSettings.oApi._fnPageChange( oSettings, "last" ); * fnCallbackDraw( oSettings ); * } ); - * + * * $(nFirst).bind( 'selectstart', function () { return false; } ); * $(nPrevious).bind( 'selectstart', function () { return false; } ); * $(nNext).bind( 'selectstart', function () { return false; } ); * $(nLast).bind( 'selectstart', function () { return false; } ); * }, - * + * * "fnUpdate": function ( oSettings, fnCallbackDraw ) { * if ( !oSettings.aanFeatures.p ) { * return; * } - * + * * // Loop over each instance of the pager * var an = oSettings.aanFeatures.p; * for ( var i=0, iLen=an.length ; i<iLen ; i++ ) { @@ -424,7 +424,7 @@ DataTable.models.ext = { * buttons[0].className = "paginate_enabled_previous"; * buttons[1].className = "paginate_enabled_previous"; * } - * + * * if ( oSettings.fnDisplayEnd() == oSettings.fnRecordsDisplay() ) { * buttons[2].className = "paginate_disabled_next"; * buttons[3].className = "paginate_disabled_next"; @@ -442,8 +442,8 @@ DataTable.models.ext = { /** * Sorting plug-in methods - Sorting in DataTables is based on the detected type of the - * data column (you can add your own type detection functions, or override automatic - * detection using sType). With this specific type given to the column, DataTables will + * data column (you can add your own type detection functions, or override automatic + * detection using sType). With this specific type given to the column, DataTables will * apply the required sort from the functions in the object. Each sort type must provide * two mandatory methods, one each for ascending and descending sorting, and can optionally * provide a pre-formatting method that will help speed up sorting by allowing DataTables diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.row.js b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.row.js index 4d5d6402..d5097e83 100755 --- a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.row.js +++ b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.row.js @@ -3,7 +3,7 @@ /** * Template object for the way in which DataTables holds information about - * each individual row. This is the object format used for the settings + * each individual row. This is the object format used for the settings * aoData array. * @namespace */ @@ -19,7 +19,7 @@ DataTable.models.oRow = { * Data object from the original data source for the row. This is either * an array if using the traditional form of DataTables, or an object if * using mData options. The exact type will depend on the passed in - * data from the data source, or will be an array if using DOM a data + * data from the data source, or will be an array if using DOM a data * source. * @type array|object * @default [] @@ -28,7 +28,7 @@ DataTable.models.oRow = { /** * Sorting data cache - this array is ostensibly the same length as the - * number of columns (although each index is generated only as it is + * number of columns (although each index is generated only as it is * needed), and holds the data that is used for sorting each column in the * row. We do this cache generation at the start of the sort in order that * the formatting of the sort data need be done only once for each cell @@ -43,7 +43,7 @@ DataTable.models.oRow = { /** * Array of TD elements that are cached for hidden rows, so they can be * reinserted into the table if a column is made visible again (or to act - * as a store if a column is made hidden). Only hidden columns have a + * as a store if a column is made hidden). Only hidden columns have a * reference in the array. For non-hidden columns the value is either * undefined or null. * @type array nodes diff --git a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.settings.js b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.settings.js index 27254799..733a2ba5 100755 --- a/wqflask/wqflask/static/new/packages/DataTables/src/model/model.settings.js +++ b/wqflask/wqflask/static/new/packages/DataTables/src/model/model.settings.js @@ -5,11 +5,11 @@ * given table, including configuration, data and current application of the * table options. DataTables does not have a single instance for each DataTable * with the settings attached to that instance, but rather instances of the - * DataTable "class" are created on-the-fly as needed (typically by a + * DataTable "class" are created on-the-fly as needed (typically by a * $().dataTable() call) and the settings object is then applied to that * instance. - * - * Note that this object is related to {@link DataTable.defaults} but this + * + * Note that this object is related to {@link DataTable.defaults} but this * one is the internal data store for DataTables's cache of columns. It should * NOT be manipulated outside of DataTables. Any configuration should be done * through the initialisation options. @@ -17,7 +17,7 @@ * @todo Really should attach the settings object to individual instances so we * don't need to create new instances on each $().dataTable() call (if the * table already exists). It would also save passing oSettings around and - * into every single function. However, this is a very significant + * into every single function. However, this is a very significant * architecture change for DataTables and will almost certainly break * backwards compatibility with older installations. This is something that * will be done in 2.0. @@ -175,7 +175,7 @@ DataTable.models.oSettings = { "iBarWidth": 0, /** - * Space (in pixels) between the bottom of the scrolling container and + * Space (in pixels) between the bottom of the scrolling container and * the bottom of the scrolling viewport before the next page is loaded * when using infinite scrolling. * Note that this parameter will be set by the initialisation routine. To @@ -185,7 +185,7 @@ DataTable.models.oSettings = { "iLoadGap": null, /** - * Viewport width for horizontal scrolling. Horizontal scrolling is + * Viewport width for horizontal scrolling. Horizontal scrolling is * disabled if an empty string. * Note that this parameter will be set by the initialisation routine. To * set a default use {@link DataTable.defaults}. @@ -220,7 +220,7 @@ DataTable.models.oSettings = { */ "oLanguage": { /** - * Information callback function. See + * Information callback function. See * {@link DataTable.defaults.fnInfoCallback} * @type function * @default null @@ -243,7 +243,7 @@ DataTable.models.oSettings = { }, /** - * Array referencing the nodes which are used for the features. The + * Array referencing the nodes which are used for the features. The * parameters of this object match what is allowed by sDom - i.e. * <ul> * <li>'l' - Length changing</li> @@ -309,7 +309,7 @@ DataTable.models.oSettings = { "asDataSearch": [], /** - * Store the applied global search information in case we want to force a + * Store the applied global search information in case we want to force a * research or compare the old search to a new one. * Note that this parameter will be set by the initialisation routine. To * set a default use {@link DataTable.defaults}. @@ -319,7 +319,7 @@ DataTable.models.oSettings = { "oPreviousSearch": {}, /** - * Store the applied search for each column - see + * Store the applied search for each column - see * {@link DataTable.models.oSearch} for the format that is used for the * filtering information for each column. * @type array @@ -369,7 +369,7 @@ DataTable.models.oSettings = { "asDestroyStripes": [], /** - * If restoring a table - we should restore its width + * If restoring a table - we should restore its width * @type int * @default 0 */ @@ -411,7 +411,7 @@ DataTable.models.oSettings = { "aoRowCreatedCallback": [], /** - * Callback functions for just before the table is redrawn. A return of + * Callback functions for just before the table is redrawn. A return of * false will be used to cancel the draw. * @type array * @default [] @@ -493,7 +493,7 @@ DataTable.models.oSettings = { "nTableWrapper": null, /** - * Indicate if when using server-side processing the loading of data + * Indicate if when using server-side processing the loading of data * should be deferred until the second draw. * Note that this parameter will be set by the initialisation routine. To * set a default use {@link DataTable.defaults}. @@ -531,7 +531,7 @@ DataTable.models.oSettings = { * Which type of pagination should be used. * Note that this parameter will be set by the initialisation routine. To * set a default use {@link DataTable.defaults}. - * @type string + * @type string * @default two_button */ "sPaginationType": "two_button", @@ -564,12 +564,12 @@ DataTable.models.oSettings = { "fnCookieCallback": null, /** - * Array of callback functions for state saving. Each array element is an + * Array of callback functions for state saving. Each array element is an * object with the following parameters: * <ul> * <li>function:fn - function to call. Takes two parameters, oSettings * and the JSON string to save that has been thus far created. Returns - * a JSON string to be inserted into a json object + * a JSON string to be inserted into a json object * (i.e. '"param": [ 0, 1, 2]')</li> * <li>string:sName - name of callback</li> * </ul> @@ -579,10 +579,10 @@ DataTable.models.oSettings = { "aoStateSave": [], /** - * Array of callback functions for state loading. Each array element is an + * Array of callback functions for state loading. Each array element is an * object with the following parameters: * <ul> - * <li>function:fn - function to call. Takes two parameters, oSettings + * <li>function:fn - function to call. Takes two parameters, oSettings * and the object stored. May return false to cancel state loading</li> * <li>string:sName - name of callback</li> * </ul> @@ -609,7 +609,7 @@ DataTable.models.oSettings = { /** * Property from a given object from which to read the table data from. This - * can be an empty string (when not server-side processing), in which case + * can be an empty string (when not server-side processing), in which case * it is assumed an an array is given directly. * Note that this parameter will be set by the initialisation routine. To * set a default use {@link DataTable.defaults}. @@ -625,8 +625,8 @@ DataTable.models.oSettings = { "bAjaxDataGet": true, /** - * The last jQuery XHR object that was used for server-side data gathering. - * This can be used for working with the XHR information in one of the + * The last jQuery XHR object that was used for server-side data gathering. + * This can be used for working with the XHR information in one of the * callbacks * @type object * @default null @@ -642,7 +642,7 @@ DataTable.models.oSettings = { "fnServerData": null, /** - * Functions which are called prior to sending an Ajax request so extra + * Functions which are called prior to sending an Ajax request so extra * parameters can easily be sent to the server * @type array * @default [] @@ -650,7 +650,7 @@ DataTable.models.oSettings = { "aoServerParams": [], /** - * Send the XHR HTTP method - GET or POST (could be PUT or DELETE if + * Send the XHR HTTP method - GET or POST (could be PUT or DELETE if * required). * Note that this parameter will be set by the initialisation routine. To * set a default use {@link DataTable.defaults}. @@ -758,7 +758,7 @@ DataTable.models.oSettings = { "oClasses": {}, /** - * Flag attached to the settings object so you can check in the draw + * Flag attached to the settings object so you can check in the draw * callback if filtering has been done in the draw. Deprecated in favour of * events. * @type boolean @@ -768,7 +768,7 @@ DataTable.models.oSettings = { "bFiltered": false, /** - * Flag attached to the settings object so you can check in the draw + * Flag attached to the settings object so you can check in the draw * callback if sorting has been done in the draw. Deprecated in favour of * events. * @type boolean @@ -778,8 +778,8 @@ DataTable.models.oSettings = { "bSorted": false, /** - * Indicate that if multiple rows are in the header and there is more than - * one unique cell per column, if the top one (true) or bottom one (false) + * Indicate that if multiple rows are in the header and there is more than + * one unique cell per column, if the top one (true) or bottom one (false) * should be used for sorting / title by DataTables. * Note that this parameter will be set by the initialisation routine. To * set a default use {@link DataTable.defaults}. @@ -840,7 +840,7 @@ DataTable.models.oSettings = { if ( this.oFeatures.bPaginate === false || this._iDisplayLength == -1 ) { return this._iDisplayStart+this.aiDisplay.length; } else { - return Math.min( this._iDisplayStart+this._iDisplayLength, + return Math.min( this._iDisplayStart+this._iDisplayLength, this._iRecordsDisplay ); } } else { |