MCPcopy Create free account
hub / github.com/breck7/scroll / bindResize

Function bindResize

external/.datatables.js:5062–5071  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5060
5061 if ((tableWidthAttr || scrollX) && !settings._reszEvt) {
5062 var bindResize = function () {
5063 $(window).on(
5064 "resize.DT-" + settings.sInstance,
5065 DataTable.util.throttle(function () {
5066 if (!settings.bDestroying) {
5067 _fnAdjustColumnSizing(settings)
5068 }
5069 })
5070 )
5071 }
5072
5073 bindResize()
5074

Callers 1

_fnCalculateColumnWidthsFunction · 0.85

Calls 2

_fnAdjustColumnSizingFunction · 0.85
$Function · 0.70

Tested by

no test coverage detected