<?xml version="1.0" encoding="UTF-8" ?>
<dt-option group="option">
	<name>scrollCollapse</name>
	<summary>Allow the table to reduce in height when a limited number of rows are shown.</summary>
	<since>1.10</since>

	<type type="boolean" />
	<default>false</default>

	<description>
		When vertical (y) scrolling is enabled through the use of the `dt-init scrollY` option, DataTables will force the height of the table's viewport to the given height at all times (useful for layout). However, this can look odd when filtering data down to a small data set, and the footer is left "floating" further down. This parameter (when enabled) will cause DataTables to collapse the table's viewport down when the result set will fit within the given Y height.
	</description>

	<example title="Enable state saving"><![CDATA[
$('#example').dataTable( {
  scrollY: 300,
  scrollCollapse: true
} );
]]></example>

	<related type="option">scrollY</related>
</dt-option>