File: cells%28%29.data%28%29.xml

package info (click to toggle)
datatables.js 1.10.13%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,232 kB
  • ctags: 1,329
  • sloc: xml: 10,249; php: 4,387; sh: 492; makefile: 21
file content (32 lines) | stat: -rw-r--r-- 1,035 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
29
30
31
32
<?xml version="1.0" encoding="UTF-8" ?>
<dt-api group="cells">
	<name>cells().data()</name>
	<summary>Get data for the selected cells</summary>
	<since>1.10</since>

	<type type="function">
		<signature>cells().data()</signature>
		<description>Get the data for the selected cells</description>
		<returns type="DataTables.Api">DataTables API instance with the data for each selected cell in the result set</returns>
	</type>

	<description>
		This method is used to obtain the data from the cells retrieved by the selector used in the `dt-api cells()` call.

		Note that unlike its singular counter part (`dt-api cell().data()`) this method does not have a 'set' form. It can only be used to retrieve data.
	</description>

	<example title="Get the data for all cells which have a class of 'info'"><![CDATA[
var table = $('#example').DataTable();

var data = table
	.cells( ".info" )
	.data();

console.log( data );

]]></example>

	<related type="api">cell().data()</related>
	<related type="api">cells().render()</related>
</dt-api>