File: language.zeroRecords.xml

package info (click to toggle)
datatables.js 1.11.5%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 22,848 kB
  • sloc: javascript: 65,075; xml: 10,712; php: 4,741; sh: 544; makefile: 18
file content (28 lines) | stat: -rw-r--r-- 950 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8" ?>
<dt-option group="i18n">
	<name>language.zeroRecords</name>
	<summary>Table empty as a result of filtering string</summary>
	<since>1.10</since>

	<type type="string" />
	<default value="No matching records found" />

	<description>
		Text shown inside the table records when the is no information to be displayed after filtering.

		Note that `dt-init language.emptyTable` is shown when there is simply no information in the table at all (regardless of filtering), while this parameter is used for when the table is empty due to filtering.
	</description>

	<example title="Set zero records string"><![CDATA[
$('#example').dataTable( {
  "language": {
    "zeroRecords": "No records to display"
  }
} );
]]></example>

	<related type="option">language</related>
	<related type="option">language.emptyTable</related>
	<related type="option">search</related>
	<related type="api">search()</related>
</dt-option>