@mlink/datatables.net-scroller
Version:
Virtual scrolling plug-in for DataTables
34 lines (26 loc) • 1.08 kB
text/xml
<dt-option library="Scroller">
<name>scroller.loadingIndicator</name>
<summary>Display a _loading_ message while Scroller is loading additional data</summary>
<type type="boolean">
<description>
* `true` show the loading indicator
* `false` do not show
</description>
</type>
<default value="false">
Loading message is not shown
</default>
<description>
While scrolling quickly through a table it is quite possible that Scroller will not be able to display the data to shown in the table as quickly as the user is scrolling (particularly if server-side processing is used - `dt-init serverSide`).
To indicate to the end user that something is happening while new data is being loaded, this option can be used to display a loading message. The text shown is taken from the `dt-init language.loadingRecords` option.
</description>
<example title="Show the loading indicator for Scroller"><![CDATA[
$('#example').DataTable( {
scrollY: true,
scroller: {
loadingIndicator: true
}
} );
]]></example>
</dt-option>