1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-12-01 13:24:10 +01:00

New - event - column-sizing - fired when the column sizing chages

- This event allows plug-ins (specifically FixedColumns in this this
  case is what I'm thinking of, but others such as FixedHeader could
  also benefit) to alter their layout when the column sizing is changed
  (for example by a window resize).
This commit is contained in:
Allan Jardine 2013-08-06 10:26:05 +01:00
parent ac7fb22620
commit 4c317c910a
2 changed files with 19 additions and 1 deletions

View File

@ -1 +1 @@
df3786b5c29f4bc25e2ab63fa7889a8306099764
8d58eb8d41b41bdc0a7cf0fdca4178d0933158d2

View File

@ -13890,6 +13890,24 @@
* @param {object} o DataTables settings object {@link DataTable.models.oSettings}
* @param {integer} len New length
*/
/**
* Column sizing has changed.
* @name DataTable#column-sizing
* @event
* @param {event} e jQuery event object
* @param {object} o DataTables settings object {@link DataTable.models.oSettings}
*/
/**
* Column visibility has changes.
* @name DataTable#column-visibility
* @event
* @param {event} e jQuery event object
* @param {object} o DataTables settings object {@link DataTable.models.oSettings}
* @param {int} column Column index
* @param {bool} vis `false` if column now hidden, or `true` if visible
*/
}));
}(window, document));