/[projects]/misc/horsensspejder-web/jquery/DataTables-1.9.4/media/unit_testing/tests_onhold/4_server-side/aoColumns.bSearchable.js
ViewVC logotype

Contents of /misc/horsensspejder-web/jquery/DataTables-1.9.4/media/unit_testing/tests_onhold/4_server-side/aoColumns.bSearchable.js

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2125 - (show annotations) (download) (as text)
Wed Mar 12 19:30:05 2014 UTC (10 years, 3 months ago) by torben
File MIME type: application/javascript
File size: 753 byte(s)
initial import
1 // DATA_TEMPLATE: empty_table
2 oTest.fnStart( "aoColumns.bSeachable" );
3
4 $(document).ready( function () {
5 /* Check the default */
6 var oTable = $('#example').dataTable( {
7 "bServerSide": true,
8 "sAjaxSource": "../../../examples/server_side/scripts/server_processing.php"
9 } );
10 var oSettings = oTable.fnSettings();
11
12 oTest.fnWaitTest(
13 "Columns are searchable by default",
14 function () { oTable.fnFilter("Camino"); },
15 function () { return $('#example tbody tr:eq(0) td:eq(1)').html() == "Camino 1.0"; }
16 );
17
18 /* NOT ACTUALLY GOING TO TEST BSEARCHABLE HERE. Reason being is that it requires the server
19 * side to alter it's processing, and this information about columns is not actually sent to
20 * the server
21 */
22
23
24 oTest.fnComplete();
25 } );

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.20