annotate DataTables-1.9.4/media/src/model/model.search.js @ 9:7300ed4c1481 draft default tip

Uploaded
author saskia-hiltemann
date Mon, 04 Sep 2017 10:49:00 -0400
parents ac5f9272033b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
1
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
2
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
3
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
4 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
5 * Template object for the way in which DataTables holds information about
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
6 * search information for the global filter and individual column filters.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
7 * @namespace
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
8 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
9 DataTable.models.oSearch = {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
10 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
11 * Flag to indicate if the filtering should be case insensitive or not
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
12 * @type boolean
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
13 * @default true
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
14 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
15 "bCaseInsensitive": true,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
16
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
17 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
18 * Applied search term
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
19 * @type string
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
20 * @default <i>Empty string</i>
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
21 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
22 "sSearch": "",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
23
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
24 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
25 * Flag to indicate if the search term should be interpreted as a
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
26 * regular expression (true) or not (false) and therefore and special
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
27 * regex characters escaped.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
28 * @type boolean
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
29 * @default false
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
30 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
31 "bRegex": false,
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
32
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
33 /**
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
34 * Flag to indicate if DataTables is to use its smart filtering or not.
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
35 * @type boolean
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
36 * @default true
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
37 */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
38 "bSmart": true
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
39 };
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
40