diff DataTables-1.9.4/media/src/model/model.search.js @ 0:ac5f9272033b draft

first upload
author saskia-hiltemann
date Tue, 01 Jul 2014 11:42:23 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DataTables-1.9.4/media/src/model/model.search.js	Tue Jul 01 11:42:23 2014 -0400
@@ -0,0 +1,40 @@
+
+
+
+/**
+ * Template object for the way in which DataTables holds information about
+ * search information for the global filter and individual column filters.
+ *  @namespace
+ */
+DataTable.models.oSearch = {
+	/**
+	 * Flag to indicate if the filtering should be case insensitive or not
+	 *  @type boolean
+	 *  @default true
+	 */
+	"bCaseInsensitive": true,
+
+	/**
+	 * Applied search term
+	 *  @type string
+	 *  @default <i>Empty string</i>
+	 */
+	"sSearch": "",
+
+	/**
+	 * Flag to indicate if the search term should be interpreted as a
+	 * regular expression (true) or not (false) and therefore and special
+	 * regex characters escaped.
+	 *  @type boolean
+	 *  @default false
+	 */
+	"bRegex": false,
+
+	/**
+	 * Flag to indicate if DataTables is to use its smart filtering or not.
+	 *  @type boolean
+	 *  @default true
+	 */
+	"bSmart": true
+};
+