diff --git a/src/sunstone/public/bower.json b/src/sunstone/public/bower.json index e4c5007dac..90d33f48c9 100644 --- a/src/sunstone/public/bower.json +++ b/src/sunstone/public/bower.json @@ -1,14 +1,14 @@ { "name": "foundation-libsass-template", "dependencies": { - "foundation": "~5.3.3", - "flot": "~0.8.3", - "jquery-migrate": "~1.2.1", - "datatables": "~1.10.2", - "jgrowl": "~1.3.0", - "fontawesome": "~4.1.0", + "foundation": "latest", + "flot": "latest", + "jquery-migrate": "latest", + "datatables": "latest", + "jgrowl": "latest", + "fontawesome": "latest", "foundation-datatables": "https://github.com/DataTables/Plugins.git", - "flot.tooltip": "~0.8.4", + "flot.tooltip": "latest", "no-vnc": "*", "resumablejs": "*" } diff --git a/src/sunstone/public/bower_components/datatables/.bower.json b/src/sunstone/public/bower_components/datatables/.bower.json index 9b180b0508..f936277cef 100644 --- a/src/sunstone/public/bower_components/datatables/.bower.json +++ b/src/sunstone/public/bower_components/datatables/.bower.json @@ -1,6 +1,6 @@ { "name": "datatables", - "version": "1.10.2", + "version": "1.10.3", "main": [ "media/js/jquery.dataTables.js", "media/css/jquery.dataTables.css" @@ -8,15 +8,30 @@ "dependencies": { "jquery": ">=1.7.0" }, + "license": "MIT", + "keywords": [ + "jquery", + "datatables", + "table", + "javascript", + "library" + ], + "ignore": [ + "/.*", + "examples", + "media/unit_testing", + "composer.json", + "dataTables.jquery.json", + "package.json" + ], "homepage": "https://github.com/DataTables/DataTables", - "_release": "1.10.2", + "_release": "1.10.3", "_resolution": { "type": "version", - "tag": "1.10.2", - "commit": "e07d49d42d768c0c1adf4137cc954a23a39c7beb" + "tag": "1.10.3", + "commit": "5abc57eaf0b977075ca67e49df080834aa068cec" }, "_source": "git://github.com/DataTables/DataTables.git", - "_target": "~1.10.2", - "_originalSource": "datatables", - "_direct": true + "_target": "*", + "_originalSource": "datatables" } \ No newline at end of file diff --git a/src/sunstone/public/bower_components/datatables/.datatables-commit-sync b/src/sunstone/public/bower_components/datatables/.datatables-commit-sync deleted file mode 100644 index 4243282f6b..0000000000 --- a/src/sunstone/public/bower_components/datatables/.datatables-commit-sync +++ /dev/null @@ -1 +0,0 @@ -e6ea753d4408ad0a45b409ac8105d565075c21d9 diff --git a/src/sunstone/public/bower_components/datatables/.gitignore b/src/sunstone/public/bower_components/datatables/.gitignore deleted file mode 100644 index 4028ffd5da..0000000000 --- a/src/sunstone/public/bower_components/datatables/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -extras -extensions -docs -cdn -media/css/jquery.dataTables_themeroller.min.css -.DS_Store -Plugins diff --git a/src/sunstone/public/bower_components/datatables/bower.json b/src/sunstone/public/bower_components/datatables/bower.json index 817a5637fa..9e1e96506a 100644 --- a/src/sunstone/public/bower_components/datatables/bower.json +++ b/src/sunstone/public/bower_components/datatables/bower.json @@ -1,11 +1,27 @@ { "name": "datatables", - "version": "1.10.2", + "version": "1.10.3", "main": [ "media/js/jquery.dataTables.js", "media/css/jquery.dataTables.css" ], "dependencies": { "jquery": ">=1.7.0" - } + }, + "license": "MIT", + "keywords": [ + "jquery", + "datatables", + "table", + "javascript", + "library" + ], + "ignore": [ + "/.*", + "examples", + "media/unit_testing", + "composer.json", + "dataTables.jquery.json", + "package.json" + ] } diff --git a/src/sunstone/public/bower_components/datatables/composer.json b/src/sunstone/public/bower_components/datatables/composer.json deleted file mode 100644 index 37bf16af16..0000000000 --- a/src/sunstone/public/bower_components/datatables/composer.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "datatables/datatables", - "version": "1.10.2", - "description": "DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table.", - "homepage": "http://www.datatables.net/", - "author": "SpryMedia", - "license": [ - "MIT" - ], - "prefer-stable": true, - "support": { - "forum": "https://datatables.net/forums", - "source": "https://github.com/DataTables/DataTablesSrc/" - } -} diff --git a/src/sunstone/public/bower_components/datatables/dataTables.jquery.json b/src/sunstone/public/bower_components/datatables/dataTables.jquery.json deleted file mode 100644 index 4819fc3e10..0000000000 --- a/src/sunstone/public/bower_components/datatables/dataTables.jquery.json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "DataTables", - "version": "1.10.2", - "description": "DataTables enhances HTML tables with the ability to sort, filter and page the data in the table very easily. It provides a comprehensive API and set of configuration options, allowing you to consume data from virtually any data source.", - "homepage": "http://datatables.net/", - "docs": "http://datatables.net/", - "demo": "http://datatables.net/examples", - "download": "http://datatables.net/download", - "author": { - "name": "Allan Jardine", - "url": "http://sprymedia.co.uk" - }, - "licenses": [ - { - "type": "MIT", - "url": "http://datatables.net/license_bsd" - } - ], - "dependencies": { - "jquery": ">=1.7" - }, - "keywords": [ - "DataTables", - "DataTable", - "table", - "grid", - "filter", - "sort", - "page", - "internationalisable" - ] -} diff --git a/src/sunstone/public/bower_components/datatables/examples/advanced_init/column_render.html b/src/sunstone/public/bower_components/datatables/examples/advanced_init/column_render.html deleted file mode 100644 index cfa3e7d62c..0000000000 --- a/src/sunstone/public/bower_components/datatables/examples/advanced_init/column_render.html +++ /dev/null @@ -1,782 +0,0 @@ - - -
- - - - -Each column has an optional rendering control called columns.renderDT which can be used to
- process the content of each cell before the data is used. columns.renderDT has a wide array of options
- available to it for rendering different types of data orthogonally (ordering, searching, display etc),
- but it can be used very simply to manipulate the content of a cell, as shown here.
This example shows the person's age combined with their name in the first column, hiding the age - column. This technique can be useful for adding links, assigning colours based on content rules and any - other form of text manipulation you require.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "columnDefs": [
- {
- // The `data` parameter refers to the data for the cell (defined by the
- // `data` option, which defaults to the column being worked with, in
- // this case `data: 0`.
- "render": function ( data, type, row ) {
- return data +' ('+ row[3]+')';
- },
- "targets": 0
- },
- { "visible": false, "targets": [ 3 ] }
- ]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-Complex headers (using colspan / rowspan) can be used to group columns of similar information in - DataTables, creating a very powerful visual effect.
- -In addition to the basic behaviour, DataTables can also take colspan and rowspans into account when
- working with hidden columns. The colspan and rowspan attributes for each cell are automatically
- calculated and rendered on the page for you. This allows the columns.visibleDT option and column().visible()DT method to take into account
- rowspan / colspan cells, drawing the header correctly.
Note that each column must have at least one unique cell (i.e. a cell without colspan) so DataTables - can use that cell to detect the column and use it to apply ordering.
- -The example below shows a header spanning multiple cells over the contact information, with one of - the columns that the span covers being hidden.
-| Name | -HR Information | -Contact | -|||
|---|---|---|---|---|---|
| Position | -Salary | -Office | -Extn. | -||
| Name | -Position | -Salary | -Office | -Extn. | -|
| Tiger Nixon | -System Architect | -$320,800 | -Edinburgh | -5421 | -t.nixon@datatables.net | -
| Garrett Winters | -Accountant | -$170,750 | -Tokyo | -8422 | -g.winters@datatables.net | -
| Ashton Cox | -Junior Technical Author | -$86,000 | -San Francisco | -1562 | -a.cox@datatables.net | -
| Cedric Kelly | -Senior Javascript Developer | -$433,060 | -Edinburgh | -6224 | -c.kelly@datatables.net | -
| Airi Satou | -Accountant | -$162,700 | -Tokyo | -5407 | -a.satou@datatables.net | -
| Brielle Williamson | -Integration Specialist | -$372,000 | -New York | -4804 | -b.williamson@datatables.net | -
| Herrod Chandler | -Sales Assistant | -$137,500 | -San Francisco | -9608 | -h.chandler@datatables.net | -
| Rhona Davidson | -Integration Specialist | -$327,900 | -Tokyo | -6200 | -r.davidson@datatables.net | -
| Colleen Hurst | -Javascript Developer | -$205,500 | -San Francisco | -2360 | -c.hurst@datatables.net | -
| Sonya Frost | -Software Engineer | -$103,600 | -Edinburgh | -1667 | -s.frost@datatables.net | -
| Jena Gaines | -Office Manager | -$90,560 | -London | -3814 | -j.gaines@datatables.net | -
| Quinn Flynn | -Support Lead | -$342,000 | -Edinburgh | -9497 | -q.flynn@datatables.net | -
| Charde Marshall | -Regional Director | -$470,600 | -San Francisco | -6741 | -c.marshall@datatables.net | -
| Haley Kennedy | -Senior Marketing Designer | -$313,500 | -London | -3597 | -h.kennedy@datatables.net | -
| Tatyana Fitzpatrick | -Regional Director | -$385,750 | -London | -1965 | -t.fitzpatrick@datatables.net | -
| Michael Silva | -Marketing Designer | -$198,500 | -London | -1581 | -m.silva@datatables.net | -
| Paul Byrd | -Chief Financial Officer (CFO) | -$725,000 | -New York | -3059 | -p.byrd@datatables.net | -
| Gloria Little | -Systems Administrator | -$237,500 | -New York | -1721 | -g.little@datatables.net | -
| Bradley Greer | -Software Engineer | -$132,000 | -London | -2558 | -b.greer@datatables.net | -
| Dai Rios | -Personnel Lead | -$217,500 | -Edinburgh | -2290 | -d.rios@datatables.net | -
| Jenette Caldwell | -Development Lead | -$345,000 | -New York | -1937 | -j.caldwell@datatables.net | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -$675,000 | -New York | -6154 | -y.berry@datatables.net | -
| Caesar Vance | -Pre-Sales Support | -$106,450 | -New York | -8330 | -c.vance@datatables.net | -
| Doris Wilder | -Sales Assistant | -$85,600 | -Sidney | -3023 | -d.wilder@datatables.net | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -$1,200,000 | -London | -5797 | -a.ramos@datatables.net | -
| Gavin Joyce | -Developer | -$92,575 | -Edinburgh | -8822 | -g.joyce@datatables.net | -
| Jennifer Chang | -Regional Director | -$357,650 | -Singapore | -9239 | -j.chang@datatables.net | -
| Brenden Wagner | -Software Engineer | -$206,850 | -San Francisco | -1314 | -b.wagner@datatables.net | -
| Fiona Green | -Chief Operating Officer (COO) | -$850,000 | -San Francisco | -2947 | -f.green@datatables.net | -
| Shou Itou | -Regional Marketing | -$163,000 | -Tokyo | -8899 | -s.itou@datatables.net | -
| Michelle House | -Integration Specialist | -$95,400 | -Sidney | -2769 | -m.house@datatables.net | -
| Suki Burks | -Developer | -$114,500 | -London | -6832 | -s.burks@datatables.net | -
| Prescott Bartlett | -Technical Author | -$145,000 | -London | -3606 | -p.bartlett@datatables.net | -
| Gavin Cortez | -Team Leader | -$235,500 | -San Francisco | -2860 | -g.cortez@datatables.net | -
| Martena Mccray | -Post-Sales support | -$324,050 | -Edinburgh | -8240 | -m.mccray@datatables.net | -
| Unity Butler | -Marketing Designer | -$85,675 | -San Francisco | -5384 | -u.butler@datatables.net | -
| Howard Hatfield | -Office Manager | -$164,500 | -San Francisco | -7031 | -h.hatfield@datatables.net | -
| Hope Fuentes | -Secretary | -$109,850 | -San Francisco | -6318 | -h.fuentes@datatables.net | -
| Vivian Harrell | -Financial Controller | -$452,500 | -San Francisco | -9422 | -v.harrell@datatables.net | -
| Timothy Mooney | -Office Manager | -$136,200 | -London | -7580 | -t.mooney@datatables.net | -
| Jackson Bradshaw | -Director | -$645,750 | -New York | -1042 | -j.bradshaw@datatables.net | -
| Olivia Liang | -Support Engineer | -$234,500 | -Singapore | -2120 | -o.liang@datatables.net | -
| Bruno Nash | -Software Engineer | -$163,500 | -London | -6222 | -b.nash@datatables.net | -
| Sakura Yamamoto | -Support Engineer | -$139,575 | -Tokyo | -9383 | -s.yamamoto@datatables.net | -
| Thor Walton | -Developer | -$98,540 | -New York | -8327 | -t.walton@datatables.net | -
| Finn Camacho | -Support Engineer | -$87,500 | -San Francisco | -2927 | -f.camacho@datatables.net | -
| Serge Baldwin | -Data Coordinator | -$138,575 | -Singapore | -8352 | -s.baldwin@datatables.net | -
| Zenaida Frank | -Software Engineer | -$125,250 | -New York | -7439 | -z.frank@datatables.net | -
| Zorita Serrano | -Software Engineer | -$115,000 | -San Francisco | -4389 | -z.serrano@datatables.net | -
| Jennifer Acosta | -Junior Javascript Developer | -$75,650 | -Edinburgh | -3431 | -j.acosta@datatables.net | -
| Cara Stevens | -Sales Assistant | -$145,600 | -New York | -3990 | -c.stevens@datatables.net | -
| Hermione Butler | -Regional Director | -$356,250 | -London | -1016 | -h.butler@datatables.net | -
| Lael Greer | -Systems Administrator | -$103,500 | -London | -6733 | -l.greer@datatables.net | -
| Jonas Alexander | -Developer | -$86,500 | -San Francisco | -8196 | -j.alexander@datatables.net | -
| Shad Decker | -Regional Director | -$183,000 | -Edinburgh | -6373 | -s.decker@datatables.net | -
| Michael Bruce | -Javascript Developer | -$183,000 | -Singapore | -5384 | -m.bruce@datatables.net | -
| Donna Snider | -Customer Support | -$112,000 | -New York | -4226 | -d.snider@datatables.net | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "columnDefs": [ {
- "visible": false,
- "targets": -1
- } ]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-When working with DataTables over multiple pages it is often useful to set the initialisation
- defaults to common values (for example you might want to set domDT to a common value so all tables get
- the same layout). This can be done using the $.fn.dataTable.defaults object. This object
- will take all of the same parameters as the DataTables initialisation object, but in this case you are
- setting the default for all future initialisations of DataTables.
This example shows the searching and ordering features of DataTables being disabled by default, - which is reflected in the table when it is initialised.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$.extend( $.fn.dataTable.defaults, {
- "searching": false,
- "ordering": false
-} );
-
-
-$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-As is described by the basic DOM positioning example you can use the domDT initialisation parameter to move
- DataTables features around the table to where you want them. In addition to this, you can also use
- domDT to create multiple instances of these
- table controls. Simply include the feature's identification letter where you want it to appear, as many
- times as you wish, and the controls will all sync up (note that obviously the table ('t') should be
- included only once).
This is shown in the demo below where for four key build-in features are duplicated above and below - the table.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "dom": '<"top"iflp<"clear">>rt<"bottom"iflp<"clear">>'
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
div.dataTables_length {
- padding-left: 2em;
- }
- div.dataTables_length,
- div.dataTables_filter {
- padding-top: 0.55em;
- }
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-DataTables inserts DOM elements around the table to control DataTables features, and you can make
- use of this mechanism as well to insert your own custom elements. In this example a div with a class of 'toolbar' is created using domDT, with which HTML is inserted to create
- the toolbar. You could put whatever HTML you want into the toolbar and add event handlers etc.
For more complex features, or for creating reusable plug-ins, DataTables also has a feature plug-in
- API available, which can be used to create plug-ins which are used in a table by a single character
- reference in the domDT option (like the built in option of
- f refers to 'filtering input', you could have an
- F option which creates your own filtering input control,
- custom to your app).
TableTools is a feature plug-in for - DataTables which adds buttons into a toolbar for a table, which controls such as copy to clipboard, - export and custom buttons.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "dom": '<"toolbar">frtip'
- } );
-
- $("div.toolbar").html('<b>Custom tool bar! Text/images etc.</b>');
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
.toolbar {
- float: left;
-}
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-DataTables fires a number of custom events which you can bind to in the standard jQuery fashion
- (although note that the namespace dt must be used), allowing your code to perform
- custom actions when these events occur.
All custom events fired by DataTables are fired with the namespace dt in order to
- prevent conflicts arising with other jQuery plug-ins which also fire events. The DataTables on()DT method can be used like the jQuery
- on() method, but will automatically append the dt namespace if required.
This example shows the use of the orderDT, searchDT and pageDT events by adding a notification that the event fired
- to an element on the page to show that they have indeed fired.
| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- var eventFired = function ( type ) {
- var n = $('#demo_info')[0];
- n.innerHTML += '<div>'+type+' event - '+new Date().getTime()+'</div>';
- n.scrollTop = n.scrollHeight;
- }
-
- $('#example')
- .on( 'order.dt', function () { eventFired( 'Order' ); } )
- .on( 'search.dt', function () { eventFired( 'Search' ); } )
- .on( 'page.dt', function () { eventFired( 'Page' ); } )
- .dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-Events assigned to the table can be exceptionally useful for user interaction, however you must be - aware that DataTables will add and remove rows from the DOM as they are needed (i.e. when paging only - the visible elements are actually available in the DOM). As such, this can lead to the odd hiccup when - working with events.
- -One of the best ways of dealing with this is through the use of delegated events with jQuery's
- on method, as shown in this example.
| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable();
-
- $('#example tbody').on('click', 'tr', function () {
- var name = $('td', this).eq(0).text();
- alert( 'You clicked on '+name+'\'s row' );
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-Through the use of the header and footer callback manipulation functions provided by DataTables
- (headerCallbackDT and footerCallbackDT), it is possible to perform
- some powerful and useful data manipulation functions, such as summarising data in the table.
The example below shows a footer callback being used to total the data for a column (both the
- visible and the hidden data) using the column().data()DT API method and column().footer()DT for writing the value into the
- footer.
| First name | -Last name | -Position | -Office | -Salary | -
|---|---|---|---|---|
| Total: | -- | |||
| Tiger | -Nixon | -System Architect | -Edinburgh | -$320,800 | -
| Garrett | -Winters | -Accountant | -Tokyo | -$170,750 | -
| Ashton | -Cox | -Junior Technical Author | -San Francisco | -$86,000 | -
| Cedric | -Kelly | -Senior Javascript Developer | -Edinburgh | -$433,060 | -
| Airi | -Satou | -Accountant | -Tokyo | -$162,700 | -
| Brielle | -Williamson | -Integration Specialist | -New York | -$372,000 | -
| Herrod | -Chandler | -Sales Assistant | -San Francisco | -$137,500 | -
| Rhona | -Davidson | -Integration Specialist | -Tokyo | -$327,900 | -
| Colleen | -Hurst | -Javascript Developer | -San Francisco | -$205,500 | -
| Sonya | -Frost | -Software Engineer | -Edinburgh | -$103,600 | -
| Jena | -Gaines | -Office Manager | -London | -$90,560 | -
| Quinn | -Flynn | -Support Lead | -Edinburgh | -$342,000 | -
| Charde | -Marshall | -Regional Director | -San Francisco | -$470,600 | -
| Haley | -Kennedy | -Senior Marketing Designer | -London | -$313,500 | -
| Tatyana | -Fitzpatrick | -Regional Director | -London | -$385,750 | -
| Michael | -Silva | -Marketing Designer | -London | -$198,500 | -
| Paul | -Byrd | -Chief Financial Officer (CFO) | -New York | -$725,000 | -
| Gloria | -Little | -Systems Administrator | -New York | -$237,500 | -
| Bradley | -Greer | -Software Engineer | -London | -$132,000 | -
| Dai | -Rios | -Personnel Lead | -Edinburgh | -$217,500 | -
| Jenette | -Caldwell | -Development Lead | -New York | -$345,000 | -
| Yuri | -Berry | -Chief Marketing Officer (CMO) | -New York | -$675,000 | -
| Caesar | -Vance | -Pre-Sales Support | -New York | -$106,450 | -
| Doris | -Wilder | -Sales Assistant | -Sidney | -$85,600 | -
| Angelica | -Ramos | -Chief Executive Officer (CEO) | -London | -$1,200,000 | -
| Gavin | -Joyce | -Developer | -Edinburgh | -$92,575 | -
| Jennifer | -Chang | -Regional Director | -Singapore | -$357,650 | -
| Brenden | -Wagner | -Software Engineer | -San Francisco | -$206,850 | -
| Fiona | -Green | -Chief Operating Officer (COO) | -San Francisco | -$850,000 | -
| Shou | -Itou | -Regional Marketing | -Tokyo | -$163,000 | -
| Michelle | -House | -Integration Specialist | -Sidney | -$95,400 | -
| Suki | -Burks | -Developer | -London | -$114,500 | -
| Prescott | -Bartlett | -Technical Author | -London | -$145,000 | -
| Gavin | -Cortez | -Team Leader | -San Francisco | -$235,500 | -
| Martena | -Mccray | -Post-Sales support | -Edinburgh | -$324,050 | -
| Unity | -Butler | -Marketing Designer | -San Francisco | -$85,675 | -
| Howard | -Hatfield | -Office Manager | -San Francisco | -$164,500 | -
| Hope | -Fuentes | -Secretary | -San Francisco | -$109,850 | -
| Vivian | -Harrell | -Financial Controller | -San Francisco | -$452,500 | -
| Timothy | -Mooney | -Office Manager | -London | -$136,200 | -
| Jackson | -Bradshaw | -Director | -New York | -$645,750 | -
| Olivia | -Liang | -Support Engineer | -Singapore | -$234,500 | -
| Bruno | -Nash | -Software Engineer | -London | -$163,500 | -
| Sakura | -Yamamoto | -Support Engineer | -Tokyo | -$139,575 | -
| Thor | -Walton | -Developer | -New York | -$98,540 | -
| Finn | -Camacho | -Support Engineer | -San Francisco | -$87,500 | -
| Serge | -Baldwin | -Data Coordinator | -Singapore | -$138,575 | -
| Zenaida | -Frank | -Software Engineer | -New York | -$125,250 | -
| Zorita | -Serrano | -Software Engineer | -San Francisco | -$115,000 | -
| Jennifer | -Acosta | -Junior Javascript Developer | -Edinburgh | -$75,650 | -
| Cara | -Stevens | -Sales Assistant | -New York | -$145,600 | -
| Hermione | -Butler | -Regional Director | -London | -$356,250 | -
| Lael | -Greer | -Systems Administrator | -London | -$103,500 | -
| Jonas | -Alexander | -Developer | -San Francisco | -$86,500 | -
| Shad | -Decker | -Regional Director | -Edinburgh | -$183,000 | -
| Michael | -Bruce | -Javascript Developer | -Singapore | -$183,000 | -
| Donna | -Snider | -Customer Support | -New York | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "footerCallback": function ( row, data, start, end, display ) {
- var api = this.api(), data;
-
- // Remove the formatting to get integer data for summation
- var intVal = function ( i ) {
- return typeof i === 'string' ?
- i.replace(/[\$,]/g, '')*1 :
- typeof i === 'number' ?
- i : 0;
- };
-
- // Total over all pages
- data = api.column( 4 ).data();
- total = data.length ?
- data.reduce( function (a, b) {
- return intVal(a) + intVal(b);
- } ) :
- 0;
-
- // Total over this page
- data = api.column( 4, { page: 'current'} ).data();
- pageTotal = data.length ?
- data.reduce( function (a, b) {
- return intVal(a) + intVal(b);
- } ) :
- 0;
-
- // Update footer
- $( api.column( 4 ).footer() ).html(
- '$'+pageTotal +' ( $'+ total +' total)'
- );
- }
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
th { white-space: nowrap; }
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-DataTables can use different data for different actions (display, ordering and searching) which can
- be immensely powerful for transforming data in the display to be intuitive for the end user, while
- using different, or more complex data, for other actions. For example, if a table contains a formatted
- telephone number in the format xxx-xxxx, intuitively a user might search for the number
- but without a dash. Using orthogonal data for searching allows both forms of the telephone number to be
- used, while only the nicely formatted number is displayed in the table.
One method in which DataTables can obtain this orthogonal data for its different actions is through - - custom HTML5 data attributes. DataTables will automatically detect four different attributes on the - HTML elements:
- -data-sort or data-order - for ordering datadata-filter or data-search - for search dataThis example shows the use of data-sort and data-filter attributes. In
- this case the first column has been formatted so the first name has abbreviated, but the full name is
- still searchable (search for "Bruno" for example). Additionally, although the last column contains
- non-numeric data in it (/y) the column will correctly order numerically as the
- data-sort / data-order attribute is set on the column with plain numeric
- data.
| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| T. Nixon | -System Architect | -Edinburgh | -61 | -Mon 25th Apr 11 | -$320,800/y | -
| G. Winters | -Accountant | -Tokyo | -63 | -Mon 25th Jul 11 | -$170,750/y | -
| A. Cox | -Junior Technical Author | -San Francisco | -66 | -Mon 12th Jan 09 | -$86,000/y | -
| C. Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -Thu 29th Mar 12 | -$433,060/y | -
| A. Satou | -Accountant | -Tokyo | -33 | -Fri 28th Nov 08 | -$162,700/y | -
| B. Williamson | -Integration Specialist | -New York | -61 | -Sun 2nd Dec 12 | -$372,000/y | -
| H. Chandler | -Sales Assistant | -San Francisco | -59 | -Mon 6th Aug 12 | -$137,500/y | -
| R. Davidson | -Integration Specialist | -Tokyo | -55 | -Thu 14th Oct 10 | -$327,900/y | -
| C. Hurst | -Javascript Developer | -San Francisco | -39 | -Tue 15th Sep 09 | -$205,500/y | -
| S. Frost | -Software Engineer | -Edinburgh | -23 | -Sat 13th Dec 08 | -$103,600/y | -
| J. Gaines | -Office Manager | -London | -30 | -Fri 19th Dec 08 | -$90,560/y | -
| Q. Flynn | -Support Lead | -Edinburgh | -22 | -Sun 3rd Mar 13 | -$342,000/y | -
| C. Marshall | -Regional Director | -San Francisco | -36 | -Thu 16th Oct 08 | -$470,600/y | -
| H. Kennedy | -Senior Marketing Designer | -London | -43 | -Tue 18th Dec 12 | -$313,500/y | -
| T. Fitzpatrick | -Regional Director | -London | -19 | -Wed 17th Mar 10 | -$385,750/y | -
| M. Silva | -Marketing Designer | -London | -66 | -Tue 27th Nov 12 | -$198,500/y | -
| P. Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -Wed 9th Jun 10 | -$725,000/y | -
| G. Little | -Systems Administrator | -New York | -59 | -Fri 10th Apr 09 | -$237,500/y | -
| B. Greer | -Software Engineer | -London | -41 | -Sat 13th Oct 12 | -$132,000/y | -
| D. Rios | -Personnel Lead | -Edinburgh | -35 | -Wed 26th Sep 12 | -$217,500/y | -
| J. Caldwell | -Development Lead | -New York | -30 | -Sat 3rd Sep 11 | -$345,000/y | -
| Y. Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -Thu 25th Jun 09 | -$675,000/y | -
| C. Vance | -Pre-Sales Support | -New York | -21 | -Mon 12th Dec 11 | -$106,450/y | -
| D. Wilder | -Sales Assistant | -Sidney | -23 | -Mon 20th Sep 10 | -$85,600/y | -
| A. Ramos | -Chief Executive Officer (CEO) | -London | -47 | -Fri 9th Oct 09 | -$1,200,000/y | -
| G. Joyce | -Developer | -Edinburgh | -42 | -Wed 22nd Dec 10 | -$92,575/y | -
| J. Chang | -Regional Director | -Singapore | -28 | -Sun 14th Nov 10 | -$357,650/y | -
| B. Wagner | -Software Engineer | -San Francisco | -28 | -Tue 7th Jun 11 | -$206,850/y | -
| F. Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -Thu 11th Mar 10 | -$850,000/y | -
| S. Itou | -Regional Marketing | -Tokyo | -20 | -Sun 14th Aug 11 | -$163,000/y | -
| M. House | -Integration Specialist | -Sidney | -37 | -Thu 2nd Jun 11 | -$95,400/y | -
| S. Burks | -Developer | -London | -53 | -Thu 22nd Oct 09 | -$114,500/y | -
| P. Bartlett | -Technical Author | -London | -27 | -Sat 7th May 11 | -$145,000/y | -
| G. Cortez | -Team Leader | -San Francisco | -22 | -Sun 26th Oct 08 | -$235,500/y | -
| M. Mccray | -Post-Sales support | -Edinburgh | -46 | -Wed 9th Mar 11 | -$324,050/y | -
| U. Butler | -Marketing Designer | -San Francisco | -47 | -Wed 9th Dec 09 | -$85,675/y | -
| H. Hatfield | -Office Manager | -San Francisco | -51 | -Tue 16th Dec 08 | -$164,500/y | -
| H. Fuentes | -Secretary | -San Francisco | -41 | -Fri 12th Feb 10 | -$109,850/y | -
| V. Harrell | -Financial Controller | -San Francisco | -62 | -Sat 14th Feb 09 | -$452,500/y | -
| T. Mooney | -Office Manager | -London | -37 | -Thu 11th Dec 08 | -$136,200/y | -
| J. Bradshaw | -Director | -New York | -65 | -Fri 26th Sep 08 | -$645,750/y | -
| O. Liang | -Support Engineer | -Singapore | -64 | -Thu 3rd Feb 11 | -$234,500/y | -
| B. Nash | -Software Engineer | -London | -38 | -Tue 3rd May 11 | -$163,500/y | -
| S. Yamamoto | -Support Engineer | -Tokyo | -37 | -Wed 19th Aug 09 | -$139,575/y | -
| T. Walton | -Developer | -New York | -61 | -Sun 11th Aug 13 | -$98,540/y | -
| F. Camacho | -Support Engineer | -San Francisco | -47 | -Tue 7th Jul 09 | -$87,500/y | -
| S. Baldwin | -Data Coordinator | -Singapore | -64 | -Mon 9th Apr 12 | -$138,575/y | -
| Z. Frank | -Software Engineer | -New York | -63 | -Mon 4th Jan 10 | -$125,250/y | -
| Z. Serrano | -Software Engineer | -San Francisco | -56 | -Fri 1st Jun 12 | -$115,000/y | -
| J. Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -Fri 1st Feb 13 | -$75,650/y | -
| C. Stevens | -Sales Assistant | -New York | -46 | -Tue 6th Dec 11 | -$145,600/y | -
| H. Butler | -Regional Director | -London | -47 | -Mon 21st Mar 11 | -$356,250/y | -
| L. Greer | -Systems Administrator | -London | -21 | -Fri 27th Feb 09 | -$103,500/y | -
| J. Alexander | -Developer | -San Francisco | -30 | -Wed 14th Jul 10 | -$86,500/y | -
| S. Decker | -Regional Director | -Edinburgh | -51 | -Thu 13th Nov 08 | -$183,000/y | -
| M. Bruce | -Javascript Developer | -Singapore | -29 | -Mon 27th Jun 11 | -$183,000/y | -
| D. Snider | -Customer Support | -New York | -27 | -Tue 25th Jan 11 | -$112,000/y | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-The configuration options offered by DataTables extend much further than the options shown in the - basic initialisation of this documentation. Through combinations of the options available and the use - of callbacks, DataTables is completely customisable and will fit into exactly what you need for your - table display.
- -This section shows some more advanced initialisation options. Keep in mind also that each example - can be combined with the other examples to get what you want!
-As well as being able to pass language information to DataTables through the languageDT initialisation option, you can
- also store the language information in a file, which DataTables can load by Ajax using the language.urlDT option.
The following example shows DataTables reading a German language file.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "language": {
- "url": "../resources/de_DE.txt"
- }
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-It is possible to easily customise the options shown in the length menu (by default at the top left
- of the table) using the lengthMenuDT initialisation
- option.
This parameter can take one of two forms:
- -The example below shows a 2D array being used to include a "Show all" records option.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-The following example shows how a callback function can be used to format a particular row at draw
- time. For each row that is generated for display, the createdRowDT function is called once and
- once only. It is passed the create row node which can then be modified.
In this case a trivial example of making the 'salary' column blue and bold by adding a CSS class to
- the container cell if the salary is greater than $4,000. Note that columns.createdCellDT could also be used to
- create exactly the same effect.
| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "createdRow": function ( row, data, index ) {
- if ( data[5].replace(/[\$,]/g, '') * 1 > 4000 ) {
- $('td', row).eq(5).addClass('highlight');
- }
- }
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
td.highlight {
- font-weight: bold;
- color: blue;
- }
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-Although DataTables doesn't have row grouping built-in (picking one of the many methods available - would overly limit the DataTables core), it is most certainly possible to give the look and feel of row - grouping.
- -In the example below the 'group' is the office location, which is based on the information in the
- third column (which is set to hidden). The grouping indicator is added by the drawCallbackDT function, which will parse
- through the rows which are displayed, and enter a grouping TR element where a new group is found. A
- click event handler is added for the grouping rows to allow the grouping order to be
- restored as well as ordering by any other column.
| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- var table = $('#example').DataTable({
- "columnDefs": [
- { "visible": false, "targets": 2 }
- ],
- "order": [[ 2, 'asc' ]],
- "displayLength": 25,
- "drawCallback": function ( settings ) {
- var api = this.api();
- var rows = api.rows( {page:'current'} ).nodes();
- var last=null;
-
- api.column(2, {page:'current'} ).data().each( function ( group, i ) {
- if ( last !== group ) {
- $(rows).eq( i ).before(
- '<tr class="group"><td colspan="5">'+group+'</td></tr>'
- );
-
- last = group;
- }
- } );
- }
- } );
-
- // Order by the grouping
- $('#example tbody').on( 'click', 'tr.group', function () {
- var currentOrder = table.order()[0];
- if ( currentOrder[0] === 2 && currentOrder[1] === 'asc' ) {
- table.order( [ 2, 'desc' ] ).draw();
- }
- else {
- table.order( [ 2, 'asc' ] ).draw();
- }
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
tr.group,
-tr.group:hover {
- background-color: #ddd !important;
-}
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-At times you may wish to change the default ordering direction sequence for columns (some or all of
- them) to be 'descending' rather than DataTables' default ascending. This can be done through the use of
- the columns.orderSequenceDT initialisation
- parameter. This parameter also allows you to limit the ordering to a single direction, or you could add
- complex behaviour to the ordering interaction.
The example below shows:
- -It's worth noting that I don't have a good use case for when you might what to mix such complex - ordering behaviour into a single table, but the example shows how these options can be use and - therefore applied across all columns.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "aoColumns": [
- null,
- null,
- { "orderSequence": [ "asc" ] },
- { "orderSequence": [ "desc", "asc", "asc" ] },
- { "orderSequence": [ "desc" ] },
- null
- ]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-When loading data from an Ajax source, by default, DataTables will look for the data to use in the
- data parameter of a returned object (e.g. { "data": [...] }). This can easily
- be change by using the dataSrc option of the ajaxDT initiation option.
The ajax.dataSrcDT has a number of ways in which
- it can be used:
dataSrc: 'myData') - obtain data from a different property in
- the source object.dataSrc: '') - the data source is not an object but an
- array.dataSrc: function(json) {}) - a function can be used to
- transform the data from one source format to another (for example you could convert from XML to a
- Javascript object). The value returned from the function is used as the data for the table.The example below shows ajax.dataSrcDT being used as
- an empty string. This tells DataTables that the JSON loaded is a plain array, not an object with an
- array inside it as is the default.
| Name | -Position | -Office | -Extn. | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Extn. | -Start date | -Salary | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "ajax": {
- "url": "data/objects_root_array.txt",
- "dataSrc": ""
- },
- "columns": [
- { "data": "name" },
- { "data": "position" },
- { "data": "office" },
- { "data": "extn" },
- { "data": "start_date" },
- { "data": "salary" }
- ]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-When loading data from an Ajax source, by default, DataTables will look for the data to use in the
- data parameter of a returned object (e.g. { "data": [...] }). This can easily
- be change by using the dataSrc option of the ajaxDT initiation option.
The ajax.dataSrcDT has a number of ways in which
- it can be used:
dataSrc: 'myData') - obtain data from a different property in
- the source object.dataSrc: '') - the data source is not an object but an
- array.dataSrc: function(json) {}) - a function can be used to
- transform the data from one source format to another (for example you could convert from XML to a
- Javascript object). The value returned from the function is used as the data for the table.The example below shows ajax.dataSrcDT being used as
- a string to get the data from a different source property, in this case demo but it could be any value, included a nested property by using standard dotted
- Javascript object notation.
| Name | -Position | -Office | -Extn. | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Extn. | -Start date | -Salary | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "ajax": {
- "url": "data/arrays_custom_prop.txt",
- "dataSrc": "demo"
- }
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-DataTables has the ability to use data from almost data JSON data source through the use of the
- columns.dataDT option. In its simplest case,
- it can be used to read arbitrary object properties, but can also be extended to n levels of
- nested objects / arrays through the use of standard Javascript dotted object notation. Each dot
- (.) in the columns.dataDT option represents
- another object level.
In this example hr.position refers to the position property of the
- hr object in the row's data source object, while contact.0 refers to the
- first element of the contact array. Any number of dots can be used to obtain deeply nested
- data.
The example below shows DataTables reading information for the columns from nested objects and - arrays, where the structure of the row's data source in this example is:
-
-{
- "name": "Tiger Nixon",
- "hr": {
- "position": "System Architect",
- "salary": "$3,120",
- "start_date": "2011/04/25"
- },
- "contact": [
- "Edinburgh",
- "5421"
- ]
-}
-
-
- | Name | -Position | -Office | -Extn. | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Extn. | -Start date | -Salary | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "processing": true,
- "ajax": "data/objects_deep.txt",
- "columns": [
- { "data": "name" },
- { "data": "hr.position" },
- { "data": "contact.0" },
- { "data": "contact.1" },
- { "data": "hr.start_date" },
- { "data": "hr.salary" }
- ]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-When working with large data sources, you might seek to improve the speed at which DataTables runs.
- One method to do this is to make use of the built-in deferred rendering option in DataTables with the
- deferRenderDT option.
When deferred rendering is enabled, rather than having DataTables create all TR and TD nodes required for the
- table when the data is loaded, DataTables will only create the nodes required for each individual row
- at the time of that row being drawn on the page (these nodes are then retained in case they are needed
- again so they aren't created multiple times). This can give a significant performance increase, since a
- lot less work is done at initialisation time.
The example below shows DataTables with deferred rendering enabled. For this small example you'll - likely notice no difference, but larger tables can benefit significantly from simply enabling this - parameter.
-| Name | -Position | -Office | -Extn. | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Extn. | -Start date | -Salary | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "ajax": "data/arrays.txt",
- "deferRender": true
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-DataTables can read data from a server via Ajax, while still performing searching, ordering, paging
- etc on the client-side. This is done through use of the ajaxDT option, which has a number of options
- to customise how the data is retrieved from the server.
The examples in this section demonstrate the use of Ajax loading data in DataTables, with - client-side processing.
-In some tables you might wish to have some content generated automatically. This can be done in a - number of ways:
- -columns.renderDT for content that is
- dynamic (i.e. based upon the row's data)columns.defaultContentDT for static
- content (i.e. simple strings)This examples shows the use of columns.defaultContentDT to create a
- button element in the last column of the table. A simple jQuery click event
- listener is used to watch for clicks on the row, and when activated uses the row().data()DT method to get the data for the row and
- show a bit of information about it in an alert box. This is a simple use case, but it can
- be built up to be arbitrarily complex.
Note also that the columns.dataDT option for the column
- has been set to null to indicate that the column has no information that should be
- obtained data source object.
| Name | -Position | -Office | -Extn. | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Extn. | -Start date | -Salary | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- var table = $('#example').DataTable( {
- "ajax": "data/arrays.txt",
- "columnDefs": [ {
- "targets": -1,
- "data": null,
- "defaultContent": "<button>Click!</button>"
- } ]
- } );
-
- $('#example tbody').on( 'click', 'button', function () {
- var data = table.row( $(this).parents('tr') ).data();
- alert( data[0] +"'s salary is: "+ data[ 5 ] );
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-To try and make life easy, by default, DataTables expects arrays to be used as the data source for - rows in the table. However, this isn't always useful, and you may wish to have DataTables use objects - as the data source for each row (i.e. each row has its data described by an object) as this can make - working with the data much more understandable, particularly if you are using the API and you don't - need to keep track of array indexes.
- -This can be done quite simply by using the columns.dataDT option which you use to tell
- DataTables which property to use from the data source object for each column.
In this example the Ajax source returns an array of objects, which DataTables uses to display the - table. The structure of the row's data source in this example is:
-
-{
- "name": "Tiger Nixon",
- "position": "System Architect",
- "salary": "$3,120",
- "start_date": "2011/04/25",
- "office": "Edinburgh",
- "extn": "5421"
-}
-
-
- | Name | -Position | -Office | -Extn. | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Extn. | -Start date | -Salary | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "ajax": "data/objects.txt",
- "columns": [
- { "data": "name" },
- { "data": "position" },
- { "data": "office" },
- { "data": "extn" },
- { "data": "start_date" },
- { "data": "salary" }
- ]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-The information read from an Ajax data source can be arbitrarily complex, but still be displayed by
- DataTables through the columns.dataDT option, which is
- particularly useful for working with JSON feeds in an already defined format.
The columns.dataDT option has the ability to
- read information not only from objects, but also from arrays using the same dotted object syntax as for
- objects. In addition to this, when working with an array data source columns.dataDT can process the data to
- combine and display the data in simple forms (more complex forms can be defined by using columns.dataDT as a function).
This example shows two different aspects of using columns.dataDT to read arrays:
name[,
- ]).hr.0). Note that the order in which
- the data can be used in the columns does not have to match the order in which it is defined in the
- data source. The structure of the row's data source in this example is:
-{
- "name": [
- "Nixon",
- "Tiger"
- ],
- "hr": [
- "System Architect",
- "$3,120",
- "2011/04/25"
- ],
- "office": "Edinburgh",
- "extn": "5421"
-}
-
-
- | Name | -Position | -Office | -Extn. | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Extn. | -Start date | -Salary | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "ajax": "data/objects_subarrays.txt",
- "columns": [
- { "data": "name[, ]" },
- { "data": "hr.0" },
- { "data": "office" },
- { "data": "extn" },
- { "data": "hr.2" },
- { "data": "hr.1" }
- ]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-To try and make life easy, by default, DataTables expects arrays to be used as the data source for - rows in the table. However, this isn't always useful, and you may wish to have DataTables use objects - as the data source for each row (i.e. each row has its data described by an object) as this can make - working with the data much more understandable, particularly if you are using the API and you don't - need to keep track of array indexes.
- -This can be done quite simply by using the columns.dataDT option which you use to tell
- DataTables which property to use from the data source object for each column.
In this example the Ajax source returns an array of objects, which DataTables uses to display the - table. The structure of the row's data source in this example is:
-
-{
- "name": "Tiger Nixon",
- "position": "System Architect",
- "salary": "$3,120",
- "start_date": {
- "display": "Mon 25th Apr 11",
- "timestamp": "1303682400"
- },
- "office": "Edinburgh",
- "extn": "5421"
-}
-
-
- | Name | -Position | -Office | -Extn. | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Extn. | -Start date | -Salary | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- ajax: "data/orthogonal.txt",
- columns: [
- { data: "name" },
- { data: "position" },
- { data: "office" },
- { data: "extn" },
- { data: {
- _: "start_date.display",
- sort: "start_date.timestamp"
- } },
- { data: "salary" }
- ]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-DataTables has the ability to read data from virtually any JSON data source that can be obtained by
- Ajax. This can be done, in its most simple form, by setting the ajaxDT option to the address of the JSON
- data source.
The ajaxDT option also allows for more advanced
- configuration such as altering how the Ajax request is made. See the ajaxDT documentation or the other Ajax
- examples for DataTables for further information.
By default DataTables will assume that an array data source is to be used and will read the
- information to be displayed in each column from the row's array using the column index, making working
- with arrays very simple (note that this can be changed, or objects used may using the columns.dataDT option, shown in other
- examples).
The example below shows DataTables loading data for a table from arrays as the data source, where - the structure of the row's data source in this example is:
-
-[
- "Tiger Nixon",
- "System Architect",
- "Edinburgh",
- "5421",
- "2011/04/25",
- "$3,120"
-]
-
-
- | Name | -Position | -Office | -Extn. | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Extn. | -Start date | -Salary | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "ajax": "data/arrays.txt"
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-New rows can be added to a DataTable very easily using the row.add()DT API method. Simply call the API function
- with the data that is to be used for the new row (be it an array or object). Multiple rows can be added
- using the rows.add()DT method (note the plural).
Note that in order to see the new row in the table you must call the draw()DT method, which is easily done through the
- chaining that the DataTables API makes use of.
This example shows a single row being added each time the button below is clicked upon.
-| Column 1 | -Column 2 | -Column 3 | -Column 4 | -Column 5 | -
|---|---|---|---|---|
| Column 1 | -Column 2 | -Column 3 | -Column 4 | -Column 5 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- var t = $('#example').DataTable();
- var counter = 1;
-
- $('#addRow').on( 'click', function () {
- t.row.add( [
- counter +'.1',
- counter +'.2',
- counter +'.3',
- counter +'.4',
- counter +'.5'
- ] ).draw();
-
- counter++;
- } );
-
- // Automatically add a first row of data
- $('#addRow').click();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-There are times when you may wish to call API functions inside the DataTables callback functions
- (for example initCompleteDT, rowCallbackDT etc). The complicating issue
- with this is that the object hasn't fully initialised, so you can't assign the result to a variable and
- then use that variable in the callback. However, all of DataTables' callback functions are executed in
- the scope of the DataTable instance, so you can use the Javascript special variable this
- to access the API (this.api() will give an API instance) as this is the
- table node.
In this example you will be able to see that the $()DT method is used to get all cell nodes in the
- table's body and then act on them (in this case adding a click event). The action here is to apply a
- filter to the table with the value of what is in each cell.
It is also worth noting that this same effect could be achieved by attaching a delegated click event - after the table has been initialised - but the example shows the use of the API inside the - callbacks!
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "initComplete": function () {
- var api = this.api();
- api.$('td').click( function () {
- api.search( this.innerHTML ).draw();
- } );
- }
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-A fairly common requirement for highly interactive tables which are displayed on the web is to have - a column which with a 'counter' for the row number. This column should not be sortable, and will change - dynamically as the ordering and searching applied to the table is altered by the end user.
- -This example shows how this can be achieved with DataTables, where the first column is the counter
- column, and is updated when ordering or searching occurs. This is done by listening for the orderDT and searchDT events emitted by the table. When these events are
- detected the column().nodes()DT method is used to get the TD/TH
- nodes for the target column and the each() helper function used to iterate over each,
- which have their contents updated as needed. Note that the filter and order
- options are using in the column()DT method to get the nodes in the current order
- and with the currently applied filter.
| - | Name | -Position | -Office | -Age | -Salary | -
|---|---|---|---|---|---|
| - | Name | -Position | -Office | -Age | -Salary | -
| - | Tiger Nixon | -System Architect | -Edinburgh | -61 | -$320,800 | -
| - | Garrett Winters | -Accountant | -Tokyo | -63 | -$170,750 | -
| - | Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -$86,000 | -
| - | Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -$433,060 | -
| - | Airi Satou | -Accountant | -Tokyo | -33 | -$162,700 | -
| - | Brielle Williamson | -Integration Specialist | -New York | -61 | -$372,000 | -
| - | Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -$137,500 | -
| - | Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -$327,900 | -
| - | Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -$205,500 | -
| - | Sonya Frost | -Software Engineer | -Edinburgh | -23 | -$103,600 | -
| - | Jena Gaines | -Office Manager | -London | -30 | -$90,560 | -
| - | Quinn Flynn | -Support Lead | -Edinburgh | -22 | -$342,000 | -
| - | Charde Marshall | -Regional Director | -San Francisco | -36 | -$470,600 | -
| - | Haley Kennedy | -Senior Marketing Designer | -London | -43 | -$313,500 | -
| - | Tatyana Fitzpatrick | -Regional Director | -London | -19 | -$385,750 | -
| - | Michael Silva | -Marketing Designer | -London | -66 | -$198,500 | -
| - | Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -$725,000 | -
| - | Gloria Little | -Systems Administrator | -New York | -59 | -$237,500 | -
| - | Bradley Greer | -Software Engineer | -London | -41 | -$132,000 | -
| - | Dai Rios | -Personnel Lead | -Edinburgh | -35 | -$217,500 | -
| - | Jenette Caldwell | -Development Lead | -New York | -30 | -$345,000 | -
| - | Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -$675,000 | -
| - | Caesar Vance | -Pre-Sales Support | -New York | -21 | -$106,450 | -
| - | Doris Wilder | -Sales Assistant | -Sidney | -23 | -$85,600 | -
| - | Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -$1,200,000 | -
| - | Gavin Joyce | -Developer | -Edinburgh | -42 | -$92,575 | -
| - | Jennifer Chang | -Regional Director | -Singapore | -28 | -$357,650 | -
| - | Brenden Wagner | -Software Engineer | -San Francisco | -28 | -$206,850 | -
| - | Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -$850,000 | -
| - | Shou Itou | -Regional Marketing | -Tokyo | -20 | -$163,000 | -
| - | Michelle House | -Integration Specialist | -Sidney | -37 | -$95,400 | -
| - | Suki Burks | -Developer | -London | -53 | -$114,500 | -
| - | Prescott Bartlett | -Technical Author | -London | -27 | -$145,000 | -
| - | Gavin Cortez | -Team Leader | -San Francisco | -22 | -$235,500 | -
| - | Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -$324,050 | -
| - | Unity Butler | -Marketing Designer | -San Francisco | -47 | -$85,675 | -
| - | Howard Hatfield | -Office Manager | -San Francisco | -51 | -$164,500 | -
| - | Hope Fuentes | -Secretary | -San Francisco | -41 | -$109,850 | -
| - | Vivian Harrell | -Financial Controller | -San Francisco | -62 | -$452,500 | -
| - | Timothy Mooney | -Office Manager | -London | -37 | -$136,200 | -
| - | Jackson Bradshaw | -Director | -New York | -65 | -$645,750 | -
| - | Olivia Liang | -Support Engineer | -Singapore | -64 | -$234,500 | -
| - | Bruno Nash | -Software Engineer | -London | -38 | -$163,500 | -
| - | Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -$139,575 | -
| - | Thor Walton | -Developer | -New York | -61 | -$98,540 | -
| - | Finn Camacho | -Support Engineer | -San Francisco | -47 | -$87,500 | -
| - | Serge Baldwin | -Data Coordinator | -Singapore | -64 | -$138,575 | -
| - | Zenaida Frank | -Software Engineer | -New York | -63 | -$125,250 | -
| - | Zorita Serrano | -Software Engineer | -San Francisco | -56 | -$115,000 | -
| - | Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -$75,650 | -
| - | Cara Stevens | -Sales Assistant | -New York | -46 | -$145,600 | -
| - | Hermione Butler | -Regional Director | -London | -47 | -$356,250 | -
| - | Lael Greer | -Systems Administrator | -London | -21 | -$103,500 | -
| - | Jonas Alexander | -Developer | -San Francisco | -30 | -$86,500 | -
| - | Shad Decker | -Regional Director | -Edinburgh | -51 | -$183,000 | -
| - | Michael Bruce | -Javascript Developer | -Singapore | -29 | -$183,000 | -
| - | Donna Snider | -Customer Support | -New York | -27 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- var t = $('#example').DataTable( {
- "columnDefs": [ {
- "searchable": false,
- "orderable": false,
- "targets": 0
- } ],
- "order": [[ 1, 'asc' ]]
- } );
-
- t.on( 'order.dt search.dt', function () {
- t.column(0, {search:'applied', order:'applied'}).nodes().each( function (cell, i) {
- cell.innerHTML = i+1;
- } );
- } ).draw();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-In order to perform paging, ordering, searching etc, DataTables can remove rows and cells from the - document (i.e. those rows / cells which are not needed are not inserted into the document). This - increases performance and compatibility, however, it means that submitting forms which span multiple - pages requires a little bit of additional work to get the information that is not in the document any - longer.
- -The $()DT method can be used to get nodes from the document
- regardless of paging, ordering etc. This example shows $()DT being used to get all input elements from the table.
In the example a simple alert() is used to show the information from the form, but an
- Ajax call to the server with the form data could easily be performed.
| Name | -Age | -Position | -Office | -
|---|---|---|---|
| Name | -Age | -Position | -Office | -
| Tiger Nixon | -- | - | - |
| Garrett Winters | -- | - | - |
| Ashton Cox | -- | - | - |
| Cedric Kelly | -- | - | - |
| Airi Satou | -- | - | - |
| Brielle Williamson | -- | - | - |
| Herrod Chandler | -- | - | - |
| Rhona Davidson | -- | - | - |
| Colleen Hurst | -- | - | - |
| Sonya Frost | -- | - | - |
| Jena Gaines | -- | - | - |
| Quinn Flynn | -- | - | - |
| Charde Marshall | -- | - | - |
| Haley Kennedy | -- | - | - |
| Tatyana Fitzpatrick | -- | - | - |
| Michael Silva | -- | - | - |
| Paul Byrd | -- | - | - |
| Gloria Little | -- | - | - |
| Bradley Greer | -- | - | - |
| Dai Rios | -- | - | - |
| Jenette Caldwell | -- | - | - |
| Yuri Berry | -- | - | - |
| Caesar Vance | -- | - | - |
| Doris Wilder | -- | - | - |
| Angelica Ramos | -- | - | - |
| Gavin Joyce | -- | - | - |
| Jennifer Chang | -- | - | - |
| Brenden Wagner | -- | - | - |
| Fiona Green | -- | - | - |
| Shou Itou | -- | - | - |
| Michelle House | -- | - | - |
| Suki Burks | -- | - | - |
| Prescott Bartlett | -- | - | - |
| Gavin Cortez | -- | - | - |
| Martena Mccray | -- | - | - |
| Unity Butler | -- | - | - |
| Howard Hatfield | -- | - | - |
| Hope Fuentes | -- | - | - |
| Vivian Harrell | -- | - | - |
| Timothy Mooney | -- | - | - |
| Jackson Bradshaw | -- | - | - |
| Olivia Liang | -- | - | - |
| Bruno Nash | -- | - | - |
| Sakura Yamamoto | -- | - | - |
| Thor Walton | -- | - | - |
| Finn Camacho | -- | - | - |
| Serge Baldwin | -- | - | - |
| Zenaida Frank | -- | - | - |
| Zorita Serrano | -- | - | - |
| Jennifer Acosta | -- | - | - |
| Cara Stevens | -- | - | - |
| Hermione Butler | -- | - | - |
| Lael Greer | -- | - | - |
| Jonas Alexander | -- | - | - |
| Shad Decker | -- | - | - |
| Michael Bruce | -- | - | - |
| Donna Snider | -- | - | - |
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- var table = $('#example').DataTable();
-
- $('button').click( function() {
- var data = table.$('input, select').serialize();
- alert(
- "The following data would have been submitted to the server: \n\n"+
- data.substr( 0, 120 )+'...'
- );
- return false;
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-Highlighting rows and columns have be quite useful for drawing attention to where the user's cursor - is in a table, particularly if you have a lot of narrow columns. Of course the highlighting of a row is - easy enough using CSS, but for column highlighting, you need to use a little bit of Javascript.
- -This example shows that in action on DataTable by making use of the cell().index()DT method to get the index of the column
- that is to be operated on, and then the cells().nodes()DT and column().nodes()DT methods to remove old classes and
- apply the new highlighted class, respectively.
| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- var lastIdx = null;
- var table = $('#example').DataTable();
-
- $('#example tbody')
- .on( 'mouseover', 'td', function () {
- var colIdx = table.cell(this).index().column;
-
- if ( colIdx !== lastIdx ) {
- $( table.cells().nodes() ).removeClass( 'highlight' );
- $( table.column( colIdx ).nodes() ).addClass( 'highlight' );
- }
- } )
- .on( 'mouseleave', function () {
- $( table.cells().nodes() ).removeClass( 'highlight' );
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
td.highlight {
- background-color: whitesmoke !important;
-}
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-The real power of DataTables can be exploited through the use of the API that it presents. The - DataTables API is designed to be simple, consistent and easy to use. The examples in this section show - how the API may be used.
-The searching functionality that is provided by DataTables is very useful for quickly search through - the information in the table - however the search is global, and you may wish to present controls to - search on specific columns only.
- -DataTables has the ability to apply searching to a specific column through the column().search()DT method (note that the name of the
- method is search not filter since filter()DT is used to apply a filter to a result
- set).
The column searches are cumulative, so you can apply multiple individual column searchs, in addition - to the global search, allowing complex searching options to be presented to the user.
- -This examples shows text elements being used with the column().search()DT method to add input controls in the
- footer of the table for each column. Note that the *index*:visible option is used for the
- column selector to ensure that the column()DT method takes into account any hidden
- columns when selecting the column to act upon.
| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- // Setup - add a text input to each footer cell
- $('#example tfoot th').each( function () {
- var title = $('#example thead th').eq( $(this).index() ).text();
- $(this).html( '<input type="text" placeholder="Search '+title+'" />' );
- } );
-
- // DataTable
- var table = $('#example').DataTable();
-
- // Apply the search
- table.columns().eq( 0 ).each( function ( colIdx ) {
- $( 'input', table.column( colIdx ).footer() ).on( 'keyup change', function () {
- table
- .column( colIdx )
- .search( this.value )
- .draw();
- } );
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
tfoot input {
- width: 100%;
- padding: 3px;
- box-sizing: border-box;
- }
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-This example is almost identical to text based individual column example and provides the same
- functionality, but in this case using select input
- controls.
After the table is initialised, the API is used to build the select inputs through the use of the column().data()DT method to get the data for each
- column in turn. The helper methods unique()DT and sort()DT are also used to reduce the data for set input
- to unique and ordered elements. Finally the change event from the select input is used to trigger a column search using the column().search()DT method.
Note that the column().search()DT method in this particular case
- performs an exact match through the use of a custom regular expression and disabling DataTables built
- in smart searching. For more information on the search options in DataTables API please refer to the
- documentation for search()DT and column().search()DT.
| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- var table = $('#example').DataTable();
-
- $("#example tfoot th").each( function ( i ) {
- var select = $('<select><option value=""></option></select>')
- .appendTo( $(this).empty() )
- .on( 'change', function () {
- var val = $(this).val();
-
- table.column( i )
- .search( val ? '^'+$(this).val()+'$' : val, true, false )
- .draw();
- } );
-
- table.column( i ).data().unique().sort().each( function ( d, j ) {
- select.append( '<option value="'+d+'">'+d+'</option>' )
- } );
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-Searching a table is one of the most common user interactions with a DataTables table, and
- DataTables provides a number of methods for you to control this interaction. There are APIs for the
- global search (search()DT) and for each individual column (column().search()DT).
Note also that you must call the draw()DT method after performing the search, in
- order for the results to be displayed.
Each search (global or column) can be marked as a regular expression (allowing you to create very - complex interactions) and as a smart search or not. When smart searching is enabled on a particular - search, DataTables will modify the user input string to a complex regular expression which can make - searching more intuitive.
- -This example allows you to "play" with the various searching options that DataTables provides.
-| Target | -Search text | -Treat as regex | -Use smart search | -
|---|---|---|---|
| Global search | -- | - | - |
| Column - Name | -- | - | - |
| Column - Position | -- | - | - |
| Column - Office | -- | - | - |
| Column - Age | -- | - | - |
| Column - Start date | -- | - | - |
| Column - Salary | -- | - | - |
| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
function filterGlobal () {
- $('#example').DataTable().search(
- $('#global_filter').val(),
- $('#global_regex').prop('checked'),
- $('#global_smart').prop('checked')
- ).draw();
-}
-
-function filterColumn ( i ) {
- $('#example').DataTable().column( i ).search(
- $('#col'+i+'_filter').val(),
- $('#col'+i+'_regex').prop('checked'),
- $('#col'+i+'_smart').prop('checked')
- ).draw();
-}
-
-$(document).ready(function() {
- $('#example').dataTable();
-
- $('input.global_filter').on( 'keyup click', function () {
- filterGlobal();
- } );
-
- $('input.column_filter').on( 'keyup click', function () {
- filterColumn( $(this).parents('tr').attr('data-column') );
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-The DataTables API has a number of methods available for attaching child rows to a parent - row in the DataTable. This can be used to show additional information about a row, useful for cases - where you wish to convey more information about a row than there is space for in the host table.
- -The example below makes use of the row().childDT methods to firstly check if a
- row is already displayed, and if so hide it (row().child.hide()DT), otherwise show it (row().child.show()DT). The content of the child row is,
- in this example, defined by the formatDetails() function, but you would replace that with
- whatever you wanted to show the content required, possibly including, for example, an Ajax call to the
- server to obtain the extra information to show.
| - | Name | -Position | -Office | -Salary | -
|---|---|---|---|---|
| - | Name | -Position | -Office | -Salary | -
The Javascript shown below is used to initialise the table shown in this - example:
/* Formatting function for row details - modify as you need */
-function format ( d ) {
- // `d` is the original data object for the row
- return '<table cellpadding="5" cellspacing="0" border="0" style="padding-left:50px;">'+
- '<tr>'+
- '<td>Full name:</td>'+
- '<td>'+d.name+'</td>'+
- '</tr>'+
- '<tr>'+
- '<td>Extension number:</td>'+
- '<td>'+d.extn+'</td>'+
- '</tr>'+
- '<tr>'+
- '<td>Extra info:</td>'+
- '<td>And any further details here (images etc)...</td>'+
- '</tr>'+
- '</table>';
-}
-
-$(document).ready(function() {
- var table = $('#example').DataTable( {
- "ajax": "../ajax/data/objects.txt",
- "columns": [
- {
- "class": 'details-control',
- "orderable": false,
- "data": null,
- "defaultContent": ''
- },
- { "data": "name" },
- { "data": "position" },
- { "data": "office" },
- { "data": "salary" }
- ],
- "order": [[1, 'asc']]
- } );
-
- // Add event listener for opening and closing details
- $('#example tbody').on('click', 'td.details-control', function () {
- var tr = $(this).closest('tr');
- var row = table.row( tr );
-
- if ( row.child.isShown() ) {
- // This row is already open - close it
- row.child.hide();
- tr.removeClass('shown');
- }
- else {
- // Open this row
- row.child( format(row.data()) ).show();
- tr.addClass('shown');
- }
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
td.details-control {
- background: url('../resources/details_open.png') no-repeat center center;
- cursor: pointer;
-}
-tr.shown td.details-control {
- background: url('../resources/details_close.png') no-repeat center center;
-}
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-It can be quite useful at times to provide the user with the option to select rows in a DataTable.
- This can be done by simply using a click event to add / remove a class on the table rows. The rows().data()DT method can then be used to get the data
- for the selected rows. In this case it is simply counting the number of selected rows, but much more
- complex interactions can easily be developed.
If you are looking for a more complete row selection option TableTools for DataTables provides a complete API for - selecting rows and acting upon those selected rows.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- var table = $('#example').DataTable();
-
- $('#example tbody').on( 'click', 'tr', function () {
- $(this).toggleClass('selected');
- } );
-
- $('#button').click( function () {
- alert( table.rows('.selected').data().length +' row(s) selected' );
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-This example shows a modification of the multiple row selection example, where just a single can now - be selected. This is done simply by checking to see if the row already has a selected class or not, and - if so removing it, if not then the class is removed from any other row in the table which does have it - and applied to the row to be selected.
- -Also shown is the row().remove()DT method which will delete a row from a
- table, and the draw()DT method with false as its first
- parameter. This will redraw the table keeping the current paging (without the false
- parameter the paging would be reset to the first page).
If you are looking for a more complete row selection option TableTools for DataTables provides a complete API for - selecting rows and acting upon those selected rows.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- var table = $('#example').DataTable();
-
- $('#example tbody').on( 'click', 'tr', function () {
- if ( $(this).hasClass('selected') ) {
- $(this).removeClass('selected');
- }
- else {
- table.$('tr.selected').removeClass('selected');
- $(this).addClass('selected');
- }
- } );
-
- $('#button').click( function () {
- table.row('.selected').remove().draw( false );
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-This example shows how you can make use of the column().visible()DT API method to dynamically show and
- hide columns in a table. Also included here is scrolling, just to show it enabled with this API method,
- although that is not required for the API function to work.
In addition to this, groups of columns can be shown and hidden at the same time using the columns()DT method to select multiple columns and then
- using the columns().visible()DT method to set their state.
If you are looking for a more complete column visibility interaction controls ColVis for DataTables provides a complete interface for - allowing the user to show and hide columns in the table.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- var table = $('#example').DataTable( {
- "scrollY": "200px",
- "paging": false
- } );
-
- $('a.toggle-vis').on( 'click', function (e) {
- e.preventDefault();
-
- // Get the column API object
- var column = table.column( $(this).attr('data-column') );
-
- // Toggle the visibility
- column.visible( ! column.visible() );
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-This example shows how DataTables with scrolling can be used together with jQuery UI tabs (or indeed
- any other method whereby the table is in a hidden, display:none, element when it is
- initialised). The reason this requires special consideration, is that when the DataTable is initialised
- in a hidden element the browser doesn't have any measurements with which to give the DataTable, and
- this will result in the misalignment of columns when scrolling is enabled.
This misalignment can be corrected by the columns.adjust()DT method when the table is made
- visible (i.e. it has dimensions).
This example shows how the jQuery UI show event can be used to trigger this method
- call. The visible tables on the page are selected using the static dt-api-static tables()
- method and passing the result to columns.adjust()DT.
| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $("#tabs").tabs( {
- "activate": function(event, ui) {
- $( $.fn.dataTable.tables( true ) ).DataTable().columns.adjust();
- }
- } );
-
- $('table.display').dataTable( {
- "scrollY": "200px",
- "scrollCollapse": true,
- "paging": false,
- "jQueryUI": true
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-The default page control presented by DataTables (forward and backward buttons with up to 7 page
- numbers in-between) is fine for most situations, but there are cases where you may wish to customise
- the options presented to the end user. This is done through DataTables' extensible pagination
- mechanism, the pagingTypeDT option.
There are four built-in options for which pagination controls DataTables should show:
- -simple - 'Previous' and 'Next' buttons onlysimple_numbers - 'Previous' and 'Next' buttons, plus
- page numbersfull - 'First', 'Previous', 'Next' and 'Last'
- buttonsfull_numbers - 'First', 'Previous', 'Next' and
- 'Last' buttons, plus page numbersThe language strings of 'First', 'Previous' etc can be optionally through the internationalisation
- options of DataTables; language.paginate.firstDT,
- language.paginate.previousDT etc.
Additional options for the buttons that are shown can be added through the use of pagination type - plug-ins. Furthermore, how the buttons are actually shown can be altered through the use of plug-in - pagination renderers.
- -The example below shows the full_numbers type of
- pagination.
| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "pagingType": "full_numbers"
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-A dot (.) is used to mark the decimal place in Javascript, however, many parts of the world use a comma (,)
- and other characters such as the Unicode decimal separator (⎖) or a dash
- (-) are often used to show the decimal place in a displayed number.
When reading such numbers, Javascript won't automatically recognise them as numbers, however,
- DataTables' type detection and sorting methods can be instructed through the language.decimalDT option which character is
- used as the decimal place in your numbers. This will be used to correctly adjust DataTables' type
- detection and sorting algorithms to sort numbers in your table.
Any character can be passed in using the language.decimalDT option, although the
- decimal place character used in a single table must be consistent (i.e. numbers with a dot decimal
- place and comma decimal place cannot both appear in the same table). Different tables on the same page
- can use different decimal characters if required.
The example below shows a comma being used as the decimal place in the currency numbers shown in the - final column.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320.800,00 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170.750,00 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86.000,00 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433.060,00 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162.700,00 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372.000,00 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137.500,00 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327.900,00 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205.500,00 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103.600,00 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90.560,00 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342.000,00 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470.600,00 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313.500,00 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385.750,00 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198.500,00 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725.000,00 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237.500,00 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132.000,00 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217.500,00 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345.000,00 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675.000,00 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106.450,00 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85.600,00 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1.200.000,00 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92.575,00 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357.650,00 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206.850,00 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850.000,00 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163.000,00 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95.400,00 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114.500,00 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145.000,00 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235.500,00 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324.050,00 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85.675,00 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164.500,00 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109.850,00 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452.500,00 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136.200,00 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645.750,00 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234.500,00 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163.500,00 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139.575,00 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98.540,00 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87.500,00 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138.575,00 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125.250,00 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115.000,00 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75.650,00 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145.600,00 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356.250,00 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103.500,00 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86.500,00 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183.000,00 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183.000,00 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112.000,00 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "language": {
- "decimal": ",",
- "thousands": "."
- }
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-When using tables to display data, you will often wish to display column information in groups.
- DataTables fully supports colspan and rowspan in the table's header,
- assigning the required order listeners to the TH element suitable for that column.
Each column must have one TH cell which is unique to it for the listeners to be added. By default
- DataTables will use the bottom unique cell for the column to attach the order listener, if more than
- one cell for a column if found. The orderCellsTopDT option can be used to tell
- DataTables to use the top cell if you prefer.
The example shown below has two sets of grouped information, grouped by colspan in the header.
-| Name | -HR Information | -Contact | -|||
|---|---|---|---|---|---|
| Position | -Salary | -Office | -Extn. | -||
| Name | -Position | -Salary | -Office | -Extn. | -|
| Tiger Nixon | -System Architect | -$320,800 | -Edinburgh | -5421 | -t.nixon@datatables.net | -
| Garrett Winters | -Accountant | -$170,750 | -Tokyo | -8422 | -g.winters@datatables.net | -
| Ashton Cox | -Junior Technical Author | -$86,000 | -San Francisco | -1562 | -a.cox@datatables.net | -
| Cedric Kelly | -Senior Javascript Developer | -$433,060 | -Edinburgh | -6224 | -c.kelly@datatables.net | -
| Airi Satou | -Accountant | -$162,700 | -Tokyo | -5407 | -a.satou@datatables.net | -
| Brielle Williamson | -Integration Specialist | -$372,000 | -New York | -4804 | -b.williamson@datatables.net | -
| Herrod Chandler | -Sales Assistant | -$137,500 | -San Francisco | -9608 | -h.chandler@datatables.net | -
| Rhona Davidson | -Integration Specialist | -$327,900 | -Tokyo | -6200 | -r.davidson@datatables.net | -
| Colleen Hurst | -Javascript Developer | -$205,500 | -San Francisco | -2360 | -c.hurst@datatables.net | -
| Sonya Frost | -Software Engineer | -$103,600 | -Edinburgh | -1667 | -s.frost@datatables.net | -
| Jena Gaines | -Office Manager | -$90,560 | -London | -3814 | -j.gaines@datatables.net | -
| Quinn Flynn | -Support Lead | -$342,000 | -Edinburgh | -9497 | -q.flynn@datatables.net | -
| Charde Marshall | -Regional Director | -$470,600 | -San Francisco | -6741 | -c.marshall@datatables.net | -
| Haley Kennedy | -Senior Marketing Designer | -$313,500 | -London | -3597 | -h.kennedy@datatables.net | -
| Tatyana Fitzpatrick | -Regional Director | -$385,750 | -London | -1965 | -t.fitzpatrick@datatables.net | -
| Michael Silva | -Marketing Designer | -$198,500 | -London | -1581 | -m.silva@datatables.net | -
| Paul Byrd | -Chief Financial Officer (CFO) | -$725,000 | -New York | -3059 | -p.byrd@datatables.net | -
| Gloria Little | -Systems Administrator | -$237,500 | -New York | -1721 | -g.little@datatables.net | -
| Bradley Greer | -Software Engineer | -$132,000 | -London | -2558 | -b.greer@datatables.net | -
| Dai Rios | -Personnel Lead | -$217,500 | -Edinburgh | -2290 | -d.rios@datatables.net | -
| Jenette Caldwell | -Development Lead | -$345,000 | -New York | -1937 | -j.caldwell@datatables.net | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -$675,000 | -New York | -6154 | -y.berry@datatables.net | -
| Caesar Vance | -Pre-Sales Support | -$106,450 | -New York | -8330 | -c.vance@datatables.net | -
| Doris Wilder | -Sales Assistant | -$85,600 | -Sidney | -3023 | -d.wilder@datatables.net | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -$1,200,000 | -London | -5797 | -a.ramos@datatables.net | -
| Gavin Joyce | -Developer | -$92,575 | -Edinburgh | -8822 | -g.joyce@datatables.net | -
| Jennifer Chang | -Regional Director | -$357,650 | -Singapore | -9239 | -j.chang@datatables.net | -
| Brenden Wagner | -Software Engineer | -$206,850 | -San Francisco | -1314 | -b.wagner@datatables.net | -
| Fiona Green | -Chief Operating Officer (COO) | -$850,000 | -San Francisco | -2947 | -f.green@datatables.net | -
| Shou Itou | -Regional Marketing | -$163,000 | -Tokyo | -8899 | -s.itou@datatables.net | -
| Michelle House | -Integration Specialist | -$95,400 | -Sidney | -2769 | -m.house@datatables.net | -
| Suki Burks | -Developer | -$114,500 | -London | -6832 | -s.burks@datatables.net | -
| Prescott Bartlett | -Technical Author | -$145,000 | -London | -3606 | -p.bartlett@datatables.net | -
| Gavin Cortez | -Team Leader | -$235,500 | -San Francisco | -2860 | -g.cortez@datatables.net | -
| Martena Mccray | -Post-Sales support | -$324,050 | -Edinburgh | -8240 | -m.mccray@datatables.net | -
| Unity Butler | -Marketing Designer | -$85,675 | -San Francisco | -5384 | -u.butler@datatables.net | -
| Howard Hatfield | -Office Manager | -$164,500 | -San Francisco | -7031 | -h.hatfield@datatables.net | -
| Hope Fuentes | -Secretary | -$109,850 | -San Francisco | -6318 | -h.fuentes@datatables.net | -
| Vivian Harrell | -Financial Controller | -$452,500 | -San Francisco | -9422 | -v.harrell@datatables.net | -
| Timothy Mooney | -Office Manager | -$136,200 | -London | -7580 | -t.mooney@datatables.net | -
| Jackson Bradshaw | -Director | -$645,750 | -New York | -1042 | -j.bradshaw@datatables.net | -
| Olivia Liang | -Support Engineer | -$234,500 | -Singapore | -2120 | -o.liang@datatables.net | -
| Bruno Nash | -Software Engineer | -$163,500 | -London | -6222 | -b.nash@datatables.net | -
| Sakura Yamamoto | -Support Engineer | -$139,575 | -Tokyo | -9383 | -s.yamamoto@datatables.net | -
| Thor Walton | -Developer | -$98,540 | -New York | -8327 | -t.walton@datatables.net | -
| Finn Camacho | -Support Engineer | -$87,500 | -San Francisco | -2927 | -f.camacho@datatables.net | -
| Serge Baldwin | -Data Coordinator | -$138,575 | -Singapore | -8352 | -s.baldwin@datatables.net | -
| Zenaida Frank | -Software Engineer | -$125,250 | -New York | -7439 | -z.frank@datatables.net | -
| Zorita Serrano | -Software Engineer | -$115,000 | -San Francisco | -4389 | -z.serrano@datatables.net | -
| Jennifer Acosta | -Junior Javascript Developer | -$75,650 | -Edinburgh | -3431 | -j.acosta@datatables.net | -
| Cara Stevens | -Sales Assistant | -$145,600 | -New York | -3990 | -c.stevens@datatables.net | -
| Hermione Butler | -Regional Director | -$356,250 | -London | -1016 | -h.butler@datatables.net | -
| Lael Greer | -Systems Administrator | -$103,500 | -London | -6733 | -l.greer@datatables.net | -
| Jonas Alexander | -Developer | -$86,500 | -San Francisco | -8196 | -j.alexander@datatables.net | -
| Shad Decker | -Regional Director | -$183,000 | -Edinburgh | -6373 | -s.decker@datatables.net | -
| Michael Bruce | -Javascript Developer | -$183,000 | -Singapore | -5384 | -m.bruce@datatables.net | -
| Donna Snider | -Customer Support | -$112,000 | -New York | -4226 | -d.snider@datatables.net | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-When customising DataTables for your own usage, you might find that the default position of the
- feature elements (filter input etc) is not quite to your liking. To address this issue DataTables takes
- inspiration from the CSS 3 Advanced Layout Module and provides the domDT initialisation parameter which can be
- set to indicate where you which particular features to appear in the DOM. You can also specify
- div wrapping containers (with an id and / or class) to provide complete layout
- flexibility.
Each HTML control element presented by DataTables is denoted by a single character in the domDT option. For example the l
- option is used for the Length changing input option.
The built-in options available are:
- -l - Length changingf - Filtering inputt - The Table!i - Informationp - Paginationr - pRocessing< and > - div elements<"#id" and > - div with an id<"class" and > - div with a class<"#id.class" and > - div with an id and classExample 1:
-
-<"wrapper"flipt>
-
-
-
- This results in the following DOM structure:
-
-<div class="wrapper">
- { filter }
- { length }
- { info }
- { paging }
- { table }
-</div>
-
-
-
- Example 2:
-
-<lf<t>ip>
-
-
-
- This results in the following DOM structure:
-
-<div>
- { length }
- { filter }
- <div>
- { table }
- </div>
- { info }
- { paging }
-</div>
-
-
-
- All options (with the exception of the t (table) option can be specified multiple
- times, for if you want to show the same control multiple times (pagination at the top and bottom of the
- table for example).
Furthermore, note that additional domDT options can be added to
- DataTables through the use of plug-ins.
In the example below, the table information is moved to the top of the table, and all the
- interaction elements to the bottom, each wrapper in a container div.
| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "dom": '<"top"i>rt<"bottom"flp><"clear">'
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-Disabling features that you don't wish to use for a particular table is easily done by setting a - variable in the initialisation object. In the following example only the filter feature is left enabled - (which is enabled by default).
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "paging": false,
- "ordering": false,
- "info": false
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-Often you may want to have your table resize dynamically with the page. Typically this is done by
- assigning width:100% in your CSS, but this presents a problem for Javascript since it can
- be very hard to get that relative size rather than the absolute pixels. As such, if you apply the
- width attribute to the HTML table tag, it will be used as the width for the table
- (overruling any CSS styles).
This example shows a table with width="100%" and the container is also flexible width,
- so as the window is resized, the table will also resize dynamically.
| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
div.container {
- width: 80%;
- }
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-There are times when you might find it useful to display only a sub-set of the information that was
- available in the original table. For example you might want to reduce the amount of data shown on
- screen to make it clearer for the user. This is done through the columns.visibleDT column option.
The column that is hidden is still part of the table and can be made visible through the api
- column().visible() API method at a future time if you wish to have columns which can be shown
- and hidden.
Furthermore, as the hidden data is still part of the table, it can still, optionally, be filtered - upon allowing the user access to that data (for example 'tag' information for a row entry might - used).
- -In the table below both the office and age version columns have been hidden, the former is - searchable, the latter is not.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "columnDefs": [
- {
- "targets": [ 2 ],
- "visible": false,
- "searchable": false
- },
- {
- "targets": [ 3 ],
- "visible": false
- }
- ]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-DataTables is very simple to use as a jQuery plug-in with a huge range of customisable option. The - examples in this section demonstrate basic initialisation of DataTables and how it can be easily - customised by passing an object with the options you want.
-Changing the language information displayed by DataTables is as simple as passing in a languageDT object to the DataTable
- constructor.
The example above shows a different set of English string being used, rather than the defaults.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "language": {
- "lengthMenu": "Display _MENU_ records per page",
- "zeroRecords": "Nothing found - sorry",
- "info": "Showing page _PAGE_ of _PAGES_",
- "infoEmpty": "No records available",
- "infoFiltered": "(filtered from _MAX_ total records)"
- }
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-DataTables allows ordering by multiple columns at the same time, which can be activated in a number - of different ways:
- -columns.orderDataDT option.columns.orderDataDT option to
- specify a multiple column order by default (for example [ [0,'asc'], [1,'asc']
- ]).order()DT API method.Note that, the ability for the user to shift click to order multiple columns can be disabled through
- the orderMultiDT option.
The example below shows the first column having a secondary order applied to the second column in - the table, vice-versa for the second column being tied directly to the first and the salary column to - the first name column.
-| First name | -Last name | -Position | -Office | -Salary | -
|---|---|---|---|---|
| Tiger | -Nixon | -System Architect | -Edinburgh | -$320,800 | -
| Garrett | -Winters | -Accountant | -Tokyo | -$170,750 | -
| Ashton | -Cox | -Junior Technical Author | -San Francisco | -$86,000 | -
| Cedric | -Kelly | -Senior Javascript Developer | -Edinburgh | -$433,060 | -
| Airi | -Satou | -Accountant | -Tokyo | -$162,700 | -
| Brielle | -Williamson | -Integration Specialist | -New York | -$372,000 | -
| Herrod | -Chandler | -Sales Assistant | -San Francisco | -$137,500 | -
| Rhona | -Davidson | -Integration Specialist | -Tokyo | -$327,900 | -
| Colleen | -Hurst | -Javascript Developer | -San Francisco | -$205,500 | -
| Sonya | -Frost | -Software Engineer | -Edinburgh | -$103,600 | -
| Jena | -Gaines | -Office Manager | -London | -$90,560 | -
| Quinn | -Flynn | -Support Lead | -Edinburgh | -$342,000 | -
| Charde | -Marshall | -Regional Director | -San Francisco | -$470,600 | -
| Haley | -Kennedy | -Senior Marketing Designer | -London | -$313,500 | -
| Tatyana | -Fitzpatrick | -Regional Director | -London | -$385,750 | -
| Michael | -Silva | -Marketing Designer | -London | -$198,500 | -
| Paul | -Byrd | -Chief Financial Officer (CFO) | -New York | -$725,000 | -
| Gloria | -Little | -Systems Administrator | -New York | -$237,500 | -
| Bradley | -Greer | -Software Engineer | -London | -$132,000 | -
| Dai | -Rios | -Personnel Lead | -Edinburgh | -$217,500 | -
| Jenette | -Caldwell | -Development Lead | -New York | -$345,000 | -
| Yuri | -Berry | -Chief Marketing Officer (CMO) | -New York | -$675,000 | -
| Caesar | -Vance | -Pre-Sales Support | -New York | -$106,450 | -
| Doris | -Wilder | -Sales Assistant | -Sidney | -$85,600 | -
| Angelica | -Ramos | -Chief Executive Officer (CEO) | -London | -$1,200,000 | -
| Gavin | -Joyce | -Developer | -Edinburgh | -$92,575 | -
| Jennifer | -Chang | -Regional Director | -Singapore | -$357,650 | -
| Brenden | -Wagner | -Software Engineer | -San Francisco | -$206,850 | -
| Fiona | -Green | -Chief Operating Officer (COO) | -San Francisco | -$850,000 | -
| Shou | -Itou | -Regional Marketing | -Tokyo | -$163,000 | -
| Michelle | -House | -Integration Specialist | -Sidney | -$95,400 | -
| Suki | -Burks | -Developer | -London | -$114,500 | -
| Prescott | -Bartlett | -Technical Author | -London | -$145,000 | -
| Gavin | -Cortez | -Team Leader | -San Francisco | -$235,500 | -
| Martena | -Mccray | -Post-Sales support | -Edinburgh | -$324,050 | -
| Unity | -Butler | -Marketing Designer | -San Francisco | -$85,675 | -
| Howard | -Hatfield | -Office Manager | -San Francisco | -$164,500 | -
| Hope | -Fuentes | -Secretary | -San Francisco | -$109,850 | -
| Vivian | -Harrell | -Financial Controller | -San Francisco | -$452,500 | -
| Timothy | -Mooney | -Office Manager | -London | -$136,200 | -
| Jackson | -Bradshaw | -Director | -New York | -$645,750 | -
| Olivia | -Liang | -Support Engineer | -Singapore | -$234,500 | -
| Bruno | -Nash | -Software Engineer | -London | -$163,500 | -
| Sakura | -Yamamoto | -Support Engineer | -Tokyo | -$139,575 | -
| Thor | -Walton | -Developer | -New York | -$98,540 | -
| Finn | -Camacho | -Support Engineer | -San Francisco | -$87,500 | -
| Serge | -Baldwin | -Data Coordinator | -Singapore | -$138,575 | -
| Zenaida | -Frank | -Software Engineer | -New York | -$125,250 | -
| Zorita | -Serrano | -Software Engineer | -San Francisco | -$115,000 | -
| Jennifer | -Acosta | -Junior Javascript Developer | -Edinburgh | -$75,650 | -
| Cara | -Stevens | -Sales Assistant | -New York | -$145,600 | -
| Hermione | -Butler | -Regional Director | -London | -$356,250 | -
| Lael | -Greer | -Systems Administrator | -London | -$103,500 | -
| Jonas | -Alexander | -Developer | -San Francisco | -$86,500 | -
| Shad | -Decker | -Regional Director | -Edinburgh | -$183,000 | -
| Michael | -Bruce | -Javascript Developer | -Singapore | -$183,000 | -
| Donna | -Snider | -Customer Support | -New York | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- columnDefs: [ {
- targets: [ 0 ],
- orderData: [ 0, 1 ]
- }, {
- targets: [ 1 ],
- orderData: [ 1, 0 ]
- }, {
- targets: [ 4 ],
- orderData: [ 4, 0 ]
- } ]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-Often you might wish to initialise multiple tables with a single statement. This is trivially done - by using a jQuery selector which will pick up multiple tables.
- -The tables are independent for user control (i.e. user controlled paging on one table does not - effect the others), but they do share the initialisation parameters given (for example if you specific - the Spanish language file, all tables will be shown in Spanish). Additionally, the API can be used to - manipulate both together, or independently.
- -The example below shows two tables initialised with a single line of code, through the use of the
- table.display selector (i.e. select all elements which have the class of
- table.display (which is suitable in this example, you might wish to use a different
- selector).
| Name | -Position | -Office | -Age | -Salary | -
|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -$320,800 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -$433,060 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -$103,600 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -$342,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -$217,500 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -$92,575 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -$324,050 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -$75,650 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -$183,000 | -
| Name | -Position | -Office | -Age | -Salary | -
|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Salary | -
| Jena Gaines | -Office Manager | -London | -30 | -$90,560 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -$198,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -$132,000 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -$1,200,000 | -
| Suki Burks | -Developer | -London | -53 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -$145,000 | -
| Timothy Mooney | -Office Manager | -London | -37 | -$136,200 | -
| Bruno Nash | -Software Engineer | -London | -38 | -$163,500 | -
| Hermione Butler | -Regional Director | -London | -47 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -$103,500 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('table.display').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
div.dataTables_wrapper {
- margin-bottom: 3em;
- }
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-DataTables has the ability to show tables with horizontal scrolling, which is very useful for when
- you have a wide table, but want to constrain it to a limited horizontal display area. To enable
- x-scrolling simply set the scrollXDT parameter to be whatever you
- want the container wrapper's width to be (this should be 100% in almost all cases with the width being
- constrained by the container element).
The example below shows a table too wide for the containing element with x-scrolling enabled. The
- CSS option of th, td { white-space: nowrap; } is also set to have the text content of each
- row on a single line (otherwise the browser will line break the text to have it fit into the available
- area).
| First name | -Last name | -Position | -Office | -Age | -Start date | -Salary | -Extn. | -|
|---|---|---|---|---|---|---|---|---|
| Tiger | -Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -5421 | -t.nixon@datatables.net | -
| Garrett | -Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -8422 | -g.winters@datatables.net | -
| Ashton | -Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -1562 | -a.cox@datatables.net | -
| Cedric | -Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -6224 | -c.kelly@datatables.net | -
| Airi | -Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -5407 | -a.satou@datatables.net | -
| Brielle | -Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -4804 | -b.williamson@datatables.net | -
| Herrod | -Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -9608 | -h.chandler@datatables.net | -
| Rhona | -Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -6200 | -r.davidson@datatables.net | -
| Colleen | -Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -2360 | -c.hurst@datatables.net | -
| Sonya | -Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -1667 | -s.frost@datatables.net | -
| Jena | -Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -3814 | -j.gaines@datatables.net | -
| Quinn | -Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -9497 | -q.flynn@datatables.net | -
| Charde | -Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -6741 | -c.marshall@datatables.net | -
| Haley | -Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -3597 | -h.kennedy@datatables.net | -
| Tatyana | -Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -1965 | -t.fitzpatrick@datatables.net | -
| Michael | -Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -1581 | -m.silva@datatables.net | -
| Paul | -Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -3059 | -p.byrd@datatables.net | -
| Gloria | -Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -1721 | -g.little@datatables.net | -
| Bradley | -Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -2558 | -b.greer@datatables.net | -
| Dai | -Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -2290 | -d.rios@datatables.net | -
| Jenette | -Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -1937 | -j.caldwell@datatables.net | -
| Yuri | -Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -6154 | -y.berry@datatables.net | -
| Caesar | -Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -8330 | -c.vance@datatables.net | -
| Doris | -Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -3023 | -d.wilder@datatables.net | -
| Angelica | -Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -5797 | -a.ramos@datatables.net | -
| Gavin | -Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -8822 | -g.joyce@datatables.net | -
| Jennifer | -Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -9239 | -j.chang@datatables.net | -
| Brenden | -Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -1314 | -b.wagner@datatables.net | -
| Fiona | -Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -2947 | -f.green@datatables.net | -
| Shou | -Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -8899 | -s.itou@datatables.net | -
| Michelle | -House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -2769 | -m.house@datatables.net | -
| Suki | -Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -6832 | -s.burks@datatables.net | -
| Prescott | -Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -3606 | -p.bartlett@datatables.net | -
| Gavin | -Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -2860 | -g.cortez@datatables.net | -
| Martena | -Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -8240 | -m.mccray@datatables.net | -
| Unity | -Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -5384 | -u.butler@datatables.net | -
| Howard | -Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -7031 | -h.hatfield@datatables.net | -
| Hope | -Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -6318 | -h.fuentes@datatables.net | -
| Vivian | -Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -9422 | -v.harrell@datatables.net | -
| Timothy | -Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -7580 | -t.mooney@datatables.net | -
| Jackson | -Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -1042 | -j.bradshaw@datatables.net | -
| Olivia | -Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -2120 | -o.liang@datatables.net | -
| Bruno | -Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -6222 | -b.nash@datatables.net | -
| Sakura | -Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -9383 | -s.yamamoto@datatables.net | -
| Thor | -Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -8327 | -t.walton@datatables.net | -
| Finn | -Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -2927 | -f.camacho@datatables.net | -
| Serge | -Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -8352 | -s.baldwin@datatables.net | -
| Zenaida | -Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -7439 | -z.frank@datatables.net | -
| Zorita | -Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -4389 | -z.serrano@datatables.net | -
| Jennifer | -Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -3431 | -j.acosta@datatables.net | -
| Cara | -Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -3990 | -c.stevens@datatables.net | -
| Hermione | -Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -1016 | -h.butler@datatables.net | -
| Lael | -Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -6733 | -l.greer@datatables.net | -
| Jonas | -Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -8196 | -j.alexander@datatables.net | -
| Shad | -Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -6373 | -s.decker@datatables.net | -
| Michael | -Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -5384 | -m.bruce@datatables.net | -
| Donna | -Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -4226 | -d.snider@datatables.net | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "scrollX": true
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
th, td { white-space: nowrap; }
- div.dataTables_wrapper {
- width: 800px;
- margin: 0 auto;
- }
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-In this example you can see DataTables doing both horizontal and vertical scrolling at the same - time. Note also that pagination is enabled in this example, and the scrolling accounts for this.
-| First name | -Last name | -Position | -Office | -Age | -Start date | -Salary | -Extn. | -|
|---|---|---|---|---|---|---|---|---|
| Tiger | -Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -5421 | -t.nixon@datatables.net | -
| Garrett | -Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -8422 | -g.winters@datatables.net | -
| Ashton | -Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -1562 | -a.cox@datatables.net | -
| Cedric | -Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -6224 | -c.kelly@datatables.net | -
| Airi | -Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -5407 | -a.satou@datatables.net | -
| Brielle | -Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -4804 | -b.williamson@datatables.net | -
| Herrod | -Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -9608 | -h.chandler@datatables.net | -
| Rhona | -Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -6200 | -r.davidson@datatables.net | -
| Colleen | -Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -2360 | -c.hurst@datatables.net | -
| Sonya | -Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -1667 | -s.frost@datatables.net | -
| Jena | -Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -3814 | -j.gaines@datatables.net | -
| Quinn | -Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -9497 | -q.flynn@datatables.net | -
| Charde | -Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -6741 | -c.marshall@datatables.net | -
| Haley | -Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -3597 | -h.kennedy@datatables.net | -
| Tatyana | -Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -1965 | -t.fitzpatrick@datatables.net | -
| Michael | -Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -1581 | -m.silva@datatables.net | -
| Paul | -Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -3059 | -p.byrd@datatables.net | -
| Gloria | -Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -1721 | -g.little@datatables.net | -
| Bradley | -Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -2558 | -b.greer@datatables.net | -
| Dai | -Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -2290 | -d.rios@datatables.net | -
| Jenette | -Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -1937 | -j.caldwell@datatables.net | -
| Yuri | -Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -6154 | -y.berry@datatables.net | -
| Caesar | -Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -8330 | -c.vance@datatables.net | -
| Doris | -Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -3023 | -d.wilder@datatables.net | -
| Angelica | -Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -5797 | -a.ramos@datatables.net | -
| Gavin | -Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -8822 | -g.joyce@datatables.net | -
| Jennifer | -Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -9239 | -j.chang@datatables.net | -
| Brenden | -Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -1314 | -b.wagner@datatables.net | -
| Fiona | -Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -2947 | -f.green@datatables.net | -
| Shou | -Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -8899 | -s.itou@datatables.net | -
| Michelle | -House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -2769 | -m.house@datatables.net | -
| Suki | -Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -6832 | -s.burks@datatables.net | -
| Prescott | -Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -3606 | -p.bartlett@datatables.net | -
| Gavin | -Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -2860 | -g.cortez@datatables.net | -
| Martena | -Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -8240 | -m.mccray@datatables.net | -
| Unity | -Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -5384 | -u.butler@datatables.net | -
| Howard | -Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -7031 | -h.hatfield@datatables.net | -
| Hope | -Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -6318 | -h.fuentes@datatables.net | -
| Vivian | -Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -9422 | -v.harrell@datatables.net | -
| Timothy | -Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -7580 | -t.mooney@datatables.net | -
| Jackson | -Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -1042 | -j.bradshaw@datatables.net | -
| Olivia | -Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -2120 | -o.liang@datatables.net | -
| Bruno | -Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -6222 | -b.nash@datatables.net | -
| Sakura | -Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -9383 | -s.yamamoto@datatables.net | -
| Thor | -Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -8327 | -t.walton@datatables.net | -
| Finn | -Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -2927 | -f.camacho@datatables.net | -
| Serge | -Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -8352 | -s.baldwin@datatables.net | -
| Zenaida | -Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -7439 | -z.frank@datatables.net | -
| Zorita | -Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -4389 | -z.serrano@datatables.net | -
| Jennifer | -Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -3431 | -j.acosta@datatables.net | -
| Cara | -Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -3990 | -c.stevens@datatables.net | -
| Hermione | -Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -1016 | -h.butler@datatables.net | -
| Lael | -Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -6733 | -l.greer@datatables.net | -
| Jonas | -Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -8196 | -j.alexander@datatables.net | -
| Shad | -Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -6373 | -s.decker@datatables.net | -
| Michael | -Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -5384 | -m.bruce@datatables.net | -
| Donna | -Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -4226 | -d.snider@datatables.net | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "scrollY": 200,
- "scrollX": true
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
th, td { white-space: nowrap; }
- div.dataTables_wrapper {
- width: 800px;
- margin: 0 auto;
- }
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-This example shows the DataTables table body scrolling in the vertical direction. This can generally - be seen as an alternative method to pagination for displaying a large table in a fairly small vertical - area, and as such pagination has been disabled here (note that this is not mandatory, it will work just - fine with pagination enabled as well!).
- -To enable y-scrolling simply set the scrollYDT parameter to be whatever you want
- the container wrapper's height to be (any CSS measurement is acceptable, or just a number which is
- treated as pixels).
Note also that the scrollCollapseDT option is enabled in
- this example. This will have the container match the height of the rows shown in the table if that
- height is smaller than that given height by the scrollYDT.
| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "scrollY": "200px",
- "scrollCollapse": true,
- "paging": false
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-This example is an extension of the vertical scrolling example, showing DataTables ability to be - themed by jQuery UI's ThemeRoller.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "scrollY": 200,
- "scrollCollapse": true,
- "jQueryUI": true
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-DataTables has the option of being able to save the state of a table (its paging position, ordering
- state etc) so that is can be restored when the user reloads a page, or comes back to the page after
- visiting a sub-page. This state saving ability is enabled by the stateSaveDT option.
The built in state saving method uses the HTML5 localStorage and
- sessionStorage APIs for efficient storage of the data. Please note that this means that
- the built in state saving option will not work with IE6/7 as these browsers do not
- support these APIs. Alternative options of using cookies or saving the state on the server through Ajax
- can be used through the stateSaveCallbackDT and
- stateLoadCallbackDT options.
The duration for which the saved state is valid and can be used to restore the table state can be
- set using the stateDurationDT initialisation parameter (2
- hours by default). This parameter also controls if localStorage (0 or greater) or
- sessionStorage (-1) is used to store the data.
The example below simply shows state saving enabled in DataTables with the stateSaveDT option.
| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- stateSave: true
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-With DataTables you can alter the ordering characteristics of the table at initialisation time.
- Using the orderDT initialisation parameter, you can
- set the table to display the data in exactly the order that you want.
The orderDT parameter is an array of arrays
- where the first value of the inner array is the column to order on, and the second is 'asc' (ascending ordering) or 'desc' (descending ordering) as required. orderDT is a 2D array to allow multi-column
- ordering to be defined.
The table below is ordered (descending) by the Age column.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "order": [[ 3, "desc" ]]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-DataTables has most features enabled by default, so all you need to do to use it with your own - tables is to call the construction function.
- -Searching, ordering, paging etc goodness will be immediately added to the table, as shown in this - example.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-DataTables has the ability to read data from virtually any JSON data source that can be obtained by
- Ajax. This can be done, in its most simple form, by setting the ajaxDT option to the address of the JSON
- data source.
The ajaxDT option also allows for more advanced
- configuration such as altering how the Ajax request is made. See the ajaxDT documentation and the other Ajax examples for further information.
The example below shows DataTables loading data for a table from arrays as the data source (object
- parameters can also be used through the columns.dataDT option ).
| Name | -Position | -Office | -Extn. | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Extn. | -Start date | -Salary | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "ajax": '../ajax/data/arrays.txt'
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-The foundation for DataTables is progressive enhancement, so it is very adept at reading table - information directly from the DOM. This example shows how easy it is to add searching, ordering and - paging to your HTML table by simply running DataTables on it.
- -For further and more complex examples of using DataTables with DOM sourced data, please refer to the - basic initialisation and advanced - examples.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-DataTables can obtain data from four different fundamental sources:
- -Which of these options is used to populate the table with data depends upon how the table is - initialised. The examples in this section show these four different data source types.
-At times you will wish to be able to create a table from dynamic information passed directly to
- DataTables, rather than having it read from the document. This is achieved using the dataDT option in the initialisation object,
- passing in an array of data to be used (like all other DataTables handled data, this can be arrays or
- objects using the columns.dataDT option).
A <table> must be available on the page for DataTables to use. This examples
- shows the element being added by Javascript and then initialising the DataTable with a set of data from
- a Javascript array.
The Javascript shown below is used to initialise the table shown in this - example:
var dataSet = [
- ['Trident','Internet Explorer 4.0','Win 95+','4','X'],
- ['Trident','Internet Explorer 5.0','Win 95+','5','C'],
- ['Trident','Internet Explorer 5.5','Win 95+','5.5','A'],
- ['Trident','Internet Explorer 6','Win 98+','6','A'],
- ['Trident','Internet Explorer 7','Win XP SP2+','7','A'],
- ['Trident','AOL browser (AOL desktop)','Win XP','6','A'],
- ['Gecko','Firefox 1.0','Win 98+ / OSX.2+','1.7','A'],
- ['Gecko','Firefox 1.5','Win 98+ / OSX.2+','1.8','A'],
- ['Gecko','Firefox 2.0','Win 98+ / OSX.2+','1.8','A'],
- ['Gecko','Firefox 3.0','Win 2k+ / OSX.3+','1.9','A'],
- ['Gecko','Camino 1.0','OSX.2+','1.8','A'],
- ['Gecko','Camino 1.5','OSX.3+','1.8','A'],
- ['Gecko','Netscape 7.2','Win 95+ / Mac OS 8.6-9.2','1.7','A'],
- ['Gecko','Netscape Browser 8','Win 98SE+','1.7','A'],
- ['Gecko','Netscape Navigator 9','Win 98+ / OSX.2+','1.8','A'],
- ['Gecko','Mozilla 1.0','Win 95+ / OSX.1+',1,'A'],
- ['Gecko','Mozilla 1.1','Win 95+ / OSX.1+',1.1,'A'],
- ['Gecko','Mozilla 1.2','Win 95+ / OSX.1+',1.2,'A'],
- ['Gecko','Mozilla 1.3','Win 95+ / OSX.1+',1.3,'A'],
- ['Gecko','Mozilla 1.4','Win 95+ / OSX.1+',1.4,'A'],
- ['Gecko','Mozilla 1.5','Win 95+ / OSX.1+',1.5,'A'],
- ['Gecko','Mozilla 1.6','Win 95+ / OSX.1+',1.6,'A'],
- ['Gecko','Mozilla 1.7','Win 98+ / OSX.1+',1.7,'A'],
- ['Gecko','Mozilla 1.8','Win 98+ / OSX.1+',1.8,'A'],
- ['Gecko','Seamonkey 1.1','Win 98+ / OSX.2+','1.8','A'],
- ['Gecko','Epiphany 2.20','Gnome','1.8','A'],
- ['Webkit','Safari 1.2','OSX.3','125.5','A'],
- ['Webkit','Safari 1.3','OSX.3','312.8','A'],
- ['Webkit','Safari 2.0','OSX.4+','419.3','A'],
- ['Webkit','Safari 3.0','OSX.4+','522.1','A'],
- ['Webkit','OmniWeb 5.5','OSX.4+','420','A'],
- ['Webkit','iPod Touch / iPhone','iPod','420.1','A'],
- ['Webkit','S60','S60','413','A'],
- ['Presto','Opera 7.0','Win 95+ / OSX.1+','-','A'],
- ['Presto','Opera 7.5','Win 95+ / OSX.2+','-','A'],
- ['Presto','Opera 8.0','Win 95+ / OSX.2+','-','A'],
- ['Presto','Opera 8.5','Win 95+ / OSX.2+','-','A'],
- ['Presto','Opera 9.0','Win 95+ / OSX.3+','-','A'],
- ['Presto','Opera 9.2','Win 88+ / OSX.3+','-','A'],
- ['Presto','Opera 9.5','Win 88+ / OSX.3+','-','A'],
- ['Presto','Opera for Wii','Wii','-','A'],
- ['Presto','Nokia N800','N800','-','A'],
- ['Presto','Nintendo DS browser','Nintendo DS','8.5','C/A<sup>1</sup>'],
- ['KHTML','Konqureror 3.1','KDE 3.1','3.1','C'],
- ['KHTML','Konqureror 3.3','KDE 3.3','3.3','A'],
- ['KHTML','Konqureror 3.5','KDE 3.5','3.5','A'],
- ['Tasman','Internet Explorer 4.5','Mac OS 8-9','-','X'],
- ['Tasman','Internet Explorer 5.1','Mac OS 7.6-9','1','C'],
- ['Tasman','Internet Explorer 5.2','Mac OS 8-X','1','C'],
- ['Misc','NetFront 3.1','Embedded devices','-','C'],
- ['Misc','NetFront 3.4','Embedded devices','-','A'],
- ['Misc','Dillo 0.8','Embedded devices','-','X'],
- ['Misc','Links','Text only','-','X'],
- ['Misc','Lynx','Text only','-','X'],
- ['Misc','IE Mobile','Windows Mobile 6','-','C'],
- ['Misc','PSP browser','PSP','-','C'],
- ['Other browsers','All others','-','-','U']
-];
-
-$(document).ready(function() {
- $('#demo').html( '<table cellpadding="0" cellspacing="0" border="0" class="display" id="example"></table>' );
-
- $('#example').dataTable( {
- "data": dataSet,
- "columns": [
- { "title": "Engine" },
- { "title": "Browser" },
- { "title": "Platform" },
- { "title": "Version", "class": "center" },
- { "title": "Grade", "class": "center" }
- ]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-There are many ways to get your data into DataTables, and if you are working with seriously large - databases, you might want to consider using the server-side options that DataTables provides. With - server-side processing enabled, all paging, searching, ordering actions that DataTables performs are - handed off to a server where an SQL engine (or similar) can perform these actions on the large data set - (after all, that's what the database engine is designed for!). As such, each draw of the table will - result in a new Ajax request being made to get the required data.
- -Server-side processing is enabled by setting the serverSideDT option to true and
- providing an Ajax data source through the ajaxDT option.
This example shows a very simple table, matching the other examples, but in this instance using - server-side processing. For further and more complex examples of using server-side processing, please - refer to the server-side processing examples.
-| Name | -Position | -Office | -Extn. | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Extn. | -Start date | -Salary | -
The Javascript shown below is used to initialise the table shown in this - example:
$(document).ready(function() {
- $('#example').dataTable( {
- "processing": true,
- "serverSide": true,
- "ajax": "../server_side/scripts/server_processing.php"
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-One of the best ways to learn how to do anything new (including software APIs!) is to get your hands - dirty as quickly as possible. These examples will show you how to perform tasks ranging from something - as simple as applying DataTables to an HTML table, right the way through to doing server-side - processing with pipelining and custom plug-in functions.
-The DataTables API is designed to be fully extensible, with custom functions being very easy to add
- using the $.fn.dataTable.Api.register function. This function takes two arguments; the
- first being the name of the method to be added and its chaining hierarchy, and the second the function
- itself.
This example shows how a sum() method can easily be added to the Api so you can get the
- sum of a column in a single line: table.column().data().sum(). Due to the chaining of the
- methods, this allows sum() to very easily give the sum for any selected column, and to
- limit the sum to just the current page, filtered data or all pages. This is done using the options for
- the column()DT method and the options for its
- selectors.
For more information about API plug-ins; creating them and their requirements, please refer to the - plug-in development documentation.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
$.fn.dataTable.Api.register( 'column().data().sum()', function () {
- return this.reduce( function (a, b) {
- var x = parseFloat( a ) || 0;
- var y = parseFloat( b ) || 0;
- return x + y;
- } );
-} );
-
-/* Init the table and fire off a call to get the hidden nodes. */
-$(document).ready(function() {
- var table = $('#example').DataTable();
-
- $('<button>Click to sum age in all rows</button>')
- .prependTo( '#demo' )
- .on( 'click', function () {
- alert( 'Column sum is: '+ table.column( 3 ).data().sum() );
- } );
-
- $('<button>Click to sum age of visible rows</button>')
- .prependTo( '#demo' )
- .on( 'click', function () {
- alert( 'Column sum is: '+ table.column( 3, {page:'current'} ).data().sum() );
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-This example shows how you can use information available in the DOM to order columns. Typically - DataTables will read information to be ordered during it's initialisation phase, and this will not be - updated based on user interaction, so ordering on columns which have, for example, form elements in - them, may not reflect the current value of the input. To overcome this problem, you must update the - data that DataTables will order on, just prior to the order. This method is much more efficient than - actually ordering using the DOM, since only one DOM query is needed for each cell to be ordered.
- -The example below shows the first two columns as normal text with ordering as you would expect. The - following columns all have a form input element of different kinds, and the information contained - within is what DataTables will perform the order on, based on the value at the time of the order.
- -This is a fairly simple example, but it you aren't constrained to just using form input elements,
- you could use anything and customise your DOM queries to suit yourself. You could also update the
- ordering live as a user in entered data into a form using an event handler calling order()DT or draw()DT methods.
| Name | -Age | -Position | -Office | -
|---|---|---|---|
| Name | -Age | -Position | -Office | -
| Tiger Nixon | -- | - | - |
| Garrett Winters | -- | - | - |
| Ashton Cox | -- | - | - |
| Cedric Kelly | -- | - | - |
| Airi Satou | -- | - | - |
| Brielle Williamson | -- | - | - |
| Herrod Chandler | -- | - | - |
| Rhona Davidson | -- | - | - |
| Colleen Hurst | -- | - | - |
| Sonya Frost | -- | - | - |
| Jena Gaines | -- | - | - |
| Quinn Flynn | -- | - | - |
| Charde Marshall | -- | - | - |
| Haley Kennedy | -- | - | - |
| Tatyana Fitzpatrick | -- | - | - |
| Michael Silva | -- | - | - |
| Paul Byrd | -- | - | - |
| Gloria Little | -- | - | - |
| Bradley Greer | -- | - | - |
| Dai Rios | -- | - | - |
| Jenette Caldwell | -- | - | - |
| Yuri Berry | -- | - | - |
| Caesar Vance | -- | - | - |
| Doris Wilder | -- | - | - |
| Angelica Ramos | -- | - | - |
| Gavin Joyce | -- | - | - |
| Jennifer Chang | -- | - | - |
| Brenden Wagner | -- | - | - |
| Fiona Green | -- | - | - |
| Shou Itou | -- | - | - |
| Michelle House | -- | - | - |
| Suki Burks | -- | - | - |
| Prescott Bartlett | -- | - | - |
| Gavin Cortez | -- | - | - |
| Martena Mccray | -- | - | - |
| Unity Butler | -- | - | - |
| Howard Hatfield | -- | - | - |
| Hope Fuentes | -- | - | - |
| Vivian Harrell | -- | - | - |
| Timothy Mooney | -- | - | - |
| Jackson Bradshaw | -- | - | - |
| Olivia Liang | -- | - | - |
| Bruno Nash | -- | - | - |
| Sakura Yamamoto | -- | - | - |
| Thor Walton | -- | - | - |
| Finn Camacho | -- | - | - |
| Serge Baldwin | -- | - | - |
| Zenaida Frank | -- | - | - |
| Zorita Serrano | -- | - | - |
| Jennifer Acosta | -- | - | - |
| Cara Stevens | -- | - | - |
| Hermione Butler | -- | - | - |
| Lael Greer | -- | - | - |
| Jonas Alexander | -- | - | - |
| Shad Decker | -- | - | - |
| Michael Bruce | -- | - | - |
| Donna Snider | -- | - | - |
The Javascript shown below is used to initialise the table shown in this - example:
/* Create an array with the values of all the input boxes in a column */
-$.fn.dataTable.ext.order['dom-text'] = function ( settings, col )
-{
- return this.api().column( col, {order:'index'} ).nodes().map( function ( td, i ) {
- return $('input', td).val();
- } );
-}
-
-/* Create an array with the values of all the input boxes in a column, parsed as numbers */
-$.fn.dataTable.ext.order['dom-text-numeric'] = function ( settings, col )
-{
- return this.api().column( col, {order:'index'} ).nodes().map( function ( td, i ) {
- return $('input', td).val() * 1;
- } );
-}
-
-/* Create an array with the values of all the select options in a column */
-$.fn.dataTable.ext.order['dom-select'] = function ( settings, col )
-{
- return this.api().column( col, {order:'index'} ).nodes().map( function ( td, i ) {
- return $('select', td).val();
- } );
-}
-
-/* Create an array with the values of all the checkboxes in a column */
-$.fn.dataTable.ext.order['dom-checkbox'] = function ( settings, col )
-{
- return this.api().column( col, {order:'index'} ).nodes().map( function ( td, i ) {
- return $('input', td).prop('checked') ? '1' : '0';
- } );
-}
-
-/* Initialise the table with the required column ordering data types */
-$(document).ready(function() {
- $('#example').dataTable( {
- "columns": [
- null,
- { "orderDataType": "dom-text-numeric" },
- { "orderDataType": "dom-text" },
- { "orderDataType": "dom-select" }
- ]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-While DataTables has a wide range of options and data type support built in, it can never cater for - every type of data out of the box. For this reason, DataTables exposes an extension API which allows - you, the developers using DataTables, to add support for your own data types, searching, ordering and - feature plug-ins.
- -The examples in this section show how plug-ins can be used and developed for DataTables.
-There may be occasions when you wish to search data presented to the end user in your own manner,
- common examples are number range search (in between two numbers) and date range search. DataTables
- provide an API method to add your own search functions, $.fn.dataTable.ext.search. This is
- an array of functions (push your own onto it) which will will be run at table draw time to see if a
- particular row should be included or not.
This example shows a search being performed on the age column in the data, based upon two - inputs.
-| Minimum age: | -- |
| Maximum age: | -- |
| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -$320,800 | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -$170,750 | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -$86,000 | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -$433,060 | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -$162,700 | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -$372,000 | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -$137,500 | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -$327,900 | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -$205,500 | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -$103,600 | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -$90,560 | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -$342,000 | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -$470,600 | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -$313,500 | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -$385,750 | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -$198,500 | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -$725,000 | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -$237,500 | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -$132,000 | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -$217,500 | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -$345,000 | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -$675,000 | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -$106,450 | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -$85,600 | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -$1,200,000 | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -$92,575 | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -$357,650 | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -$206,850 | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -$850,000 | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -$163,000 | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -$95,400 | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -$114,500 | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -$145,000 | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -$235,500 | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -$324,050 | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -$85,675 | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -$164,500 | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -$109,850 | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -$452,500 | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -$136,200 | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -$645,750 | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -$234,500 | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -$163,500 | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -$139,575 | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -$98,540 | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -$87,500 | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -$138,575 | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -$125,250 | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -$115,000 | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -$75,650 | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -$145,600 | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -$356,250 | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -$103,500 | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -$86,500 | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -$183,000 | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -$183,000 | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -$112,000 | -
The Javascript shown below is used to initialise the table shown in this - example:
/* Custom filtering function which will search data in column four between two values */
-$.fn.dataTable.ext.search.push(
- function( settings, data, dataIndex ) {
- var min = parseInt( $('#min').val(), 10 );
- var max = parseInt( $('#max').val(), 10 );
- var age = parseFloat( data[3] ) || 0; // use data for the age column
-
- if ( ( isNaN( min ) && isNaN( max ) ) ||
- ( isNaN( min ) && age <= max ) ||
- ( min <= age && isNaN( max ) ) ||
- ( min <= age && age <= max ) )
- {
- return true;
- }
- return false;
- }
-);
-
-$(document).ready(function() {
- var table = $('#example').DataTable();
-
- // Event listener to the two range filtering inputs to redraw on input
- $('#min, #max').keyup( function() {
- table.draw();
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-Although DataTables will automatically order data from a number of different data types using the - built in methods, When dealing with more complex formatted data, it can be desirable to define the - ordering order yourself. Using plug-in ordering functions, you have have DataTables sort data in any - manner you wish.
- -Formatted data of a particular kind can be automatically detected and a suitable ordering plug-in - assigned to it by making use of DataTables' plug-in type detection abilities. For complete information - about type detection and ordering plug-ins; creating them and their requirements, please refer to the - plug-in development documentation.
- -This example shows ordering with using an enumerated type.
- -A wide variety of ready made ordering plug-ins can be found on the DataTables plug-ins page.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -Low | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -Low | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -Low | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -Medium | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -Low | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -Medium | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -Low | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -Low | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -Low | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -Low | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -Low | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -Low | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -Medium | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -Low | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -Medium | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -Low | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -High | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -Low | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -Low | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -Low | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -Low | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -High | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -Low | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -Low | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -High | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -Low | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -Medium | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -Low | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -High | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -Low | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -Low | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -Low | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -Low | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -Low | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -Low | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -Low | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -Low | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -Low | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -Medium | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -Low | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -Medium | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -Low | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -Low | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -Low | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -Low | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -Low | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -Low | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -Low | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -Low | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -Low | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -Low | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -Medium | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -Low | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -Low | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -Low | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -Low | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -Low | -
The Javascript shown below is used to initialise the table shown in this - example:
$.fn.dataTable.ext.type.detect.unshift(
- function ( d ) {
- return d === 'Low' || d === 'Medium' || d === 'High' ?
- 'salary-grade' :
- null;
- }
-);
-
-$.fn.dataTable.ext.type.order['salary-grade-pre'] = function ( d ) {
- switch ( d ) {
- case 'Low': return 1;
- case 'Medium': return 2;
- case 'High': return 3;
- }
- return 0;
-};
-
-
-$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-Although DataTables will order a number of data types using the built in methods, When dealing with - more complex formatted data, it can be desirable to define the ordering order yourself. Using plug-in - ordering functions, you have have DataTables order data in any manner you wish.
- -This is done by using the columns.typeDT parameter, in
- combination with a ordering plug-in. The ordering plug-in can be be of any level of complexity (natural
- ordering for example can be fairly complex while also very powerful), and is defined by attaching to
- the $.fn.dataTable.ext.type.order object. For more information about ordering plug-ins;
- creating them and their requirements, please refer to the plug-in development documentation.
This example shows ordering with using an enumerated type.
- -A wide variety of ready made ordering plug-ins can be found on the DataTables plug-ins page.
-| Name | -Position | -Office | -Age | -Start date | -Salary | -
|---|---|---|---|---|---|
| Name | -Position | -Office | -Age | -Start date | -Salary | -
| Tiger Nixon | -System Architect | -Edinburgh | -61 | -2011/04/25 | -Low | -
| Garrett Winters | -Accountant | -Tokyo | -63 | -2011/07/25 | -Low | -
| Ashton Cox | -Junior Technical Author | -San Francisco | -66 | -2009/01/12 | -Low | -
| Cedric Kelly | -Senior Javascript Developer | -Edinburgh | -22 | -2012/03/29 | -Medium | -
| Airi Satou | -Accountant | -Tokyo | -33 | -2008/11/28 | -Low | -
| Brielle Williamson | -Integration Specialist | -New York | -61 | -2012/12/02 | -Medium | -
| Herrod Chandler | -Sales Assistant | -San Francisco | -59 | -2012/08/06 | -Low | -
| Rhona Davidson | -Integration Specialist | -Tokyo | -55 | -2010/10/14 | -Low | -
| Colleen Hurst | -Javascript Developer | -San Francisco | -39 | -2009/09/15 | -Low | -
| Sonya Frost | -Software Engineer | -Edinburgh | -23 | -2008/12/13 | -Low | -
| Jena Gaines | -Office Manager | -London | -30 | -2008/12/19 | -Low | -
| Quinn Flynn | -Support Lead | -Edinburgh | -22 | -2013/03/03 | -Low | -
| Charde Marshall | -Regional Director | -San Francisco | -36 | -2008/10/16 | -Medium | -
| Haley Kennedy | -Senior Marketing Designer | -London | -43 | -2012/12/18 | -Low | -
| Tatyana Fitzpatrick | -Regional Director | -London | -19 | -2010/03/17 | -Medium | -
| Michael Silva | -Marketing Designer | -London | -66 | -2012/11/27 | -Low | -
| Paul Byrd | -Chief Financial Officer (CFO) | -New York | -64 | -2010/06/09 | -High | -
| Gloria Little | -Systems Administrator | -New York | -59 | -2009/04/10 | -Low | -
| Bradley Greer | -Software Engineer | -London | -41 | -2012/10/13 | -Low | -
| Dai Rios | -Personnel Lead | -Edinburgh | -35 | -2012/09/26 | -Low | -
| Jenette Caldwell | -Development Lead | -New York | -30 | -2011/09/03 | -Low | -
| Yuri Berry | -Chief Marketing Officer (CMO) | -New York | -40 | -2009/06/25 | -High | -
| Caesar Vance | -Pre-Sales Support | -New York | -21 | -2011/12/12 | -Low | -
| Doris Wilder | -Sales Assistant | -Sidney | -23 | -2010/09/20 | -Low | -
| Angelica Ramos | -Chief Executive Officer (CEO) | -London | -47 | -2009/10/09 | -High | -
| Gavin Joyce | -Developer | -Edinburgh | -42 | -2010/12/22 | -Low | -
| Jennifer Chang | -Regional Director | -Singapore | -28 | -2010/11/14 | -Medium | -
| Brenden Wagner | -Software Engineer | -San Francisco | -28 | -2011/06/07 | -Low | -
| Fiona Green | -Chief Operating Officer (COO) | -San Francisco | -48 | -2010/03/11 | -High | -
| Shou Itou | -Regional Marketing | -Tokyo | -20 | -2011/08/14 | -Low | -
| Michelle House | -Integration Specialist | -Sidney | -37 | -2011/06/02 | -Low | -
| Suki Burks | -Developer | -London | -53 | -2009/10/22 | -Low | -
| Prescott Bartlett | -Technical Author | -London | -27 | -2011/05/07 | -Low | -
| Gavin Cortez | -Team Leader | -San Francisco | -22 | -2008/10/26 | -Low | -
| Martena Mccray | -Post-Sales support | -Edinburgh | -46 | -2011/03/09 | -Low | -
| Unity Butler | -Marketing Designer | -San Francisco | -47 | -2009/12/09 | -Low | -
| Howard Hatfield | -Office Manager | -San Francisco | -51 | -2008/12/16 | -Low | -
| Hope Fuentes | -Secretary | -San Francisco | -41 | -2010/02/12 | -Low | -
| Vivian Harrell | -Financial Controller | -San Francisco | -62 | -2009/02/14 | -Medium | -
| Timothy Mooney | -Office Manager | -London | -37 | -2008/12/11 | -Low | -
| Jackson Bradshaw | -Director | -New York | -65 | -2008/09/26 | -Medium | -
| Olivia Liang | -Support Engineer | -Singapore | -64 | -2011/02/03 | -Low | -
| Bruno Nash | -Software Engineer | -London | -38 | -2011/05/03 | -Low | -
| Sakura Yamamoto | -Support Engineer | -Tokyo | -37 | -2009/08/19 | -Low | -
| Thor Walton | -Developer | -New York | -61 | -2013/08/11 | -Low | -
| Finn Camacho | -Support Engineer | -San Francisco | -47 | -2009/07/07 | -Low | -
| Serge Baldwin | -Data Coordinator | -Singapore | -64 | -2012/04/09 | -Low | -
| Zenaida Frank | -Software Engineer | -New York | -63 | -2010/01/04 | -Low | -
| Zorita Serrano | -Software Engineer | -San Francisco | -56 | -2012/06/01 | -Low | -
| Jennifer Acosta | -Junior Javascript Developer | -Edinburgh | -43 | -2013/02/01 | -Low | -
| Cara Stevens | -Sales Assistant | -New York | -46 | -2011/12/06 | -Low | -
| Hermione Butler | -Regional Director | -London | -47 | -2011/03/21 | -Medium | -
| Lael Greer | -Systems Administrator | -London | -21 | -2009/02/27 | -Low | -
| Jonas Alexander | -Developer | -San Francisco | -30 | -2010/07/14 | -Low | -
| Shad Decker | -Regional Director | -Edinburgh | -51 | -2008/11/13 | -Low | -
| Michael Bruce | -Javascript Developer | -Singapore | -29 | -2011/06/27 | -Low | -
| Donna Snider | -Customer Support | -New York | -27 | -2011/01/25 | -Low | -
The Javascript shown below is used to initialise the table shown in this - example:
$.fn.dataTable.ext.type.order['salary-grade-pre'] = function ( d ) {
- switch ( d ) {
- case 'Low': return 1;
- case 'Medium': return 2;
- case 'High': return 3;
- }
- return 0;
-};
-
-$(document).ready(function() {
- $('#example').dataTable( {
- "columnDefs": [ {
- "type": "salary-grade",
- "targets": -1
- } ]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this - example:
- - -The HTML shown below is the raw HTML table element, before it has been enhanced by - DataTables:
-This example uses a little bit of additional CSS beyond what is loaded from the library - files (below), in order to correctly display the table. The additional CSS used is shown - below:
- The following CSS library files are loaded for use in this example to provide the styling of the - table:
- - -This table loads data by Ajax. The latest data that has been loaded is shown below. This data - will update automatically as any additional data is loaded.
-The script used to perform the server-side processing for this table is shown below. Please note - that this is just an example script using PHP. Server-side processing scripts can be written in any - language, using the protocol described in the - DataTables documentation.
-| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
|---|---|---|---|---|
| Trident | -Internet - Explorer 4.0 | -Win 95+ | -4 | -X | -
| Trident | -Internet - Explorer 5.0 | -Win 95+ | -5 | -C | -
| Trident | -Internet - Explorer 5.5 | -Win 95+ | -5.5 | -A | -
| Trident | -Internet - Explorer 6 | -Win 98+ | -6 | -A | -
| Trident | -Internet Explorer 7 | -Win XP SP2+ | -7 | -A | -
| Trident | -AOL browser (AOL desktop) | -Win XP | -6 | -A | -
| Gecko | -Firefox 1.0 | -Win 98+ / OSX.2+ | -1.7 | -A | -
| Gecko | -Firefox 1.5 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 2.0 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 3.0 | -Win 2k+ / OSX.3+ | -1.9 | -A | -
| Gecko | -Camino 1.0 | -OSX.2+ | -1.8 | -A | -
| Gecko | -Camino 1.5 | -OSX.3+ | -1.8 | -A | -
| Gecko | -Netscape 7.2 | -Win 95+ / Mac OS 8.6-9.2 | -1.7 | -A | -
| Gecko | -Netscape Browser 8 | -Win 98SE+ | -1.7 | -A | -
| Gecko | -Netscape Navigator 9 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Mozilla 1.0 | -Win 95+ / OSX.1+ | -1 | -A | -
| Gecko | -Mozilla 1.1 | -Win 95+ / OSX.1+ | -1.1 | -A | -
| Gecko | -Mozilla 1.2 | -Win 95+ / OSX.1+ | -1.2 | -A | -
| Gecko | -Mozilla 1.3 | -Win 95+ / OSX.1+ | -1.3 | -A | -
| Gecko | -Mozilla 1.4 | -Win 95+ / OSX.1+ | -1.4 | -A | -
| Gecko | -Mozilla 1.5 | -Win 95+ / OSX.1+ | -1.5 | -A | -
| Gecko | -Mozilla 1.6 | -Win 95+ / OSX.1+ | -1.6 | -A | -
| Gecko | -Mozilla 1.7 | -Win 98+ / OSX.1+ | -1.7 | -A | -
| Gecko | -Mozilla 1.8 | -Win 98+ / OSX.1+ | -1.8 | -A | -
| Gecko | -Seamonkey 1.1 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Epiphany 2.20 | -Gnome | -1.8 | -A | -
| Webkit | -Safari 1.2 | -OSX.3 | -125.5 | -A | -
| Webkit | -Safari 1.3 | -OSX.3 | -312.8 | -A | -
| Webkit | -Safari 2.0 | -OSX.4+ | -419.3 | -A | -
| Webkit | -Safari 3.0 | -OSX.4+ | -522.1 | -A | -
| Webkit | -OmniWeb 5.5 | -OSX.4+ | -420 | -A | -
| Webkit | -iPod Touch / iPhone | -iPod | -420.1 | -A | -
| Webkit | -S60 | -S60 | -413 | -A | -
| Presto | -Opera 7.0 | -Win 95+ / OSX.1+ | -- | -A | -
| Presto | -Opera 7.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.0 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 9.0 | -Win 95+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.2 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.5 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera for Wii | -Wii | -- | -A | -
| Presto | -Nokia N800 | -N800 | -- | -A | -
| Presto | -Nintendo DS browser | -Nintendo DS | -8.5 | -C/A1 | -
| KHTML | -Konqureror 3.1 | -KDE 3.1 | -3.1 | -C | -
| KHTML | -Konqureror 3.3 | -KDE 3.3 | -3.3 | -A | -
| KHTML | -Konqureror 3.5 | -KDE 3.5 | -3.5 | -A | -
| Tasman | -Internet Explorer 4.5 | -Mac OS 8-9 | -- | -X | -
| Tasman | -Internet Explorer 5.1 | -Mac OS 7.6-9 | -1 | -C | -
| Tasman | -Internet Explorer 5.2 | -Mac OS 8-X | -1 | -C | -
| Misc | -NetFront 3.1 | -Embedded devices | -- | -C | -
| Misc | -NetFront 3.4 | -Embedded devices | -- | -A | -
| Misc | -Dillo 0.8 | -Embedded devices | -- | -X | -
| Misc | -Links | -Text only | -- | -X | -
| Misc | -Lynx | -Text only | -- | -X | -
| Misc | -IE Mobile | -Windows Mobile 6 | -- | -C | -
| Misc | -PSP browser | -PSP | -- | -C | -
| Other browsers | -All others | -- | -- | -U | -
\t\t\t'+
- escapeHtml( table )+
- ''
- );
- //SyntaxHighlighter.highlight({}, $('#display-init-html')[0]);
-
- // Allow the demo code to run if DT 1.9 is used
- if ( dt110 ) {
- // json
- var ajaxTab = $('ul.tabs li').eq(3).css('display', 'none');
-
- $(document).on( 'init.dt', function ( e, settings ) {
- var api = new $.fn.dataTable.Api( settings );
-
- var show = function ( str ) {
- ajaxTab.css( 'display', 'block' );
- $('div.tabs div.ajax code').remove();
-
- // Old IE :-|
- try {
- str = JSON.stringify( str, null, 2 );
- } catch ( e ) {}
-
- $('div.tabs div.ajax').append(
- ''+str+''
- );
- SyntaxHighlighter.highlight( {}, $('div.tabs div.ajax code')[0] );
- };
-
- // First draw
- var json = api.ajax.json();
- if ( json ) {
- show( json );
- }
-
- // Subsequent draws
- api.on( 'xhr.dt', function ( e, settings, json ) {
- show( json );
- } );
- } );
-
- // php
- var phpTab = $('ul.tabs li').eq(4).css('display', 'none');
-
- $(document).on( 'init.dt.demoSSP', function ( e, settings ) {
- if ( settings.oFeatures.bServerSide ) {
- if ( $.isFunction( settings.ajax ) ) {
- return;
- }
- $.ajax( {
- url: '../resources/examples.php',
- data: {
- src: settings.sAjaxSource || settings.ajax.url || settings.ajax
- },
- dataType: 'text',
- type: 'post',
- success: function ( txt ) {
- phpTab.css( 'display', 'block' );
- $('div.tabs div.php').append(
- ''+txt+''
- );
- SyntaxHighlighter.highlight( {}, $('div.tabs div.php code')[0] );
- }
- } );
- }
- } );
- }
- else {
- $('ul.tabs li').eq(3).css('display', 'none');
- $('ul.tabs li').eq(4).css('display', 'none');
- }
-
- // Tabs
- $('ul.tabs').on( 'click', 'li', function () {
- $('ul.tabs li.active').removeClass('active');
- $(this).addClass('active');
-
- $('div.tabs>div')
- .css('display', 'none')
- .eq( $(this).index() ).css('display', 'block');
- } );
- $('ul.tabs li.active').click();
-} );
-
-
-
diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/details_close.png b/src/sunstone/public/bower_components/datatables/examples/resources/details_close.png
deleted file mode 100644
index fcc23c63e2..0000000000
Binary files a/src/sunstone/public/bower_components/datatables/examples/resources/details_close.png and /dev/null differ
diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/details_open.png b/src/sunstone/public/bower_components/datatables/examples/resources/details_open.png
deleted file mode 100644
index 6f034d0f2d..0000000000
Binary files a/src/sunstone/public/bower_components/datatables/examples/resources/details_open.png and /dev/null differ
diff --git a/src/sunstone/public/bower_components/datatables/examples/resources/examples.php b/src/sunstone/public/bower_components/datatables/examples/resources/examples.php
deleted file mode 100644
index 303d3bdb28..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/resources/examples.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<'large-6 columns'f>r>"+
- "t"+
- "<'row'<'large-6 columns'i><'large-6 columns'p>>",
- "sPaginationType": "bootstrap",
- "oLanguage": {
- "sLengthMenu": "_MENU_ records per page"
- }
-} );
-
-
-/* API method to get paging information */
-$.fn.dataTableExt.oApi.fnPagingInfo = function ( oSettings )
-{
- return {
- "iStart": oSettings._iDisplayStart,
- "iEnd": oSettings.fnDisplayEnd(),
- "iLength": oSettings._iDisplayLength,
- "iTotal": oSettings.fnRecordsTotal(),
- "iFilteredTotal": oSettings.fnRecordsDisplay(),
- "iPage": oSettings._iDisplayLength === -1 ?
- 0 : Math.ceil( oSettings._iDisplayStart / oSettings._iDisplayLength ),
- "iTotalPages": oSettings._iDisplayLength === -1 ?
- 0 : Math.ceil( oSettings.fnRecordsDisplay() / oSettings._iDisplayLength )
- };
-};
-
-
-/* Bootstrap style pagination control */
-$.extend( $.fn.dataTableExt.oPagination, {
- "bootstrap": {
- "fnInit": function( oSettings, nPaging, fnDraw ) {
- var oLang = oSettings.oLanguage.oPaginate;
- var fnClickHandler = function ( e ) {
- e.preventDefault();
- if ( oSettings.oApi._fnPageChange(oSettings, e.data.action) ) {
- fnDraw( oSettings );
- }
- };
-
- $(nPaging).append(
- ''
- );
- var els = $('a', nPaging);
- $(els[0]).bind( 'click.DT', { action: "previous" }, fnClickHandler );
- $(els[1]).bind( 'click.DT', { action: "next" }, fnClickHandler );
- },
-
- "fnUpdate": function ( oSettings, fnDraw ) {
- var iListLength = 5;
- var oPaging = oSettings.oInstance.fnPagingInfo();
- var an = oSettings.aanFeatures.p;
- var pages = [];
- var i, ien, klass, host;
-
- // This could use some improving - however, see
- // https://github.com/DataTables/DataTables/issues/163 - this will
- // be changing in the near future, so not much point in doing too
- // much just now
- if ( oPaging.iTotalPages <= 6 ) {
- for ( i=0 ; i| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
|---|---|---|---|---|
| Trident | -Internet - Explorer 4.0 | -Win 95+ | -4 | -X | -
| Trident | -Internet - Explorer 5.0 | -Win 95+ | -5 | -C | -
| Trident | -Internet - Explorer 5.5 | -Win 95+ | -5.5 | -A | -
| Trident | -Internet - Explorer 6 | -Win 98+ | -6 | -A | -
| Trident | -Internet Explorer 7 | -Win XP SP2+ | -7 | -A | -
| Trident | -AOL browser (AOL desktop) | -Win XP | -6 | -A | -
| Gecko | -Firefox 1.0 | -Win 98+ / OSX.2+ | -1.7 | -A | -
| Gecko | -Firefox 1.5 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 2.0 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 3.0 | -Win 2k+ / OSX.3+ | -1.9 | -A | -
| Gecko | -Camino 1.0 | -OSX.2+ | -1.8 | -A | -
| Gecko | -Camino 1.5 | -OSX.3+ | -1.8 | -A | -
| Gecko | -Netscape 7.2 | -Win 95+ / Mac OS 8.6-9.2 | -1.7 | -A | -
| Gecko | -Netscape Browser 8 | -Win 98SE+ | -1.7 | -A | -
| Gecko | -Netscape Navigator 9 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Mozilla 1.0 | -Win 95+ / OSX.1+ | -1 | -A | -
| Gecko | -Mozilla 1.1 | -Win 95+ / OSX.1+ | -1.1 | -A | -
| Gecko | -Mozilla 1.2 | -Win 95+ / OSX.1+ | -1.2 | -A | -
| Gecko | -Mozilla 1.3 | -Win 95+ / OSX.1+ | -1.3 | -A | -
| Gecko | -Mozilla 1.4 | -Win 95+ / OSX.1+ | -1.4 | -A | -
| Gecko | -Mozilla 1.5 | -Win 95+ / OSX.1+ | -1.5 | -A | -
| Gecko | -Mozilla 1.6 | -Win 95+ / OSX.1+ | -1.6 | -A | -
| Gecko | -Mozilla 1.7 | -Win 98+ / OSX.1+ | -1.7 | -A | -
| Gecko | -Mozilla 1.8 | -Win 98+ / OSX.1+ | -1.8 | -A | -
| Gecko | -Seamonkey 1.1 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Epiphany 2.20 | -Gnome | -1.8 | -A | -
| Webkit | -Safari 1.2 | -OSX.3 | -125.5 | -A | -
| Webkit | -Safari 1.3 | -OSX.3 | -312.8 | -A | -
| Webkit | -Safari 2.0 | -OSX.4+ | -419.3 | -A | -
| Webkit | -Safari 3.0 | -OSX.4+ | -522.1 | -A | -
| Webkit | -OmniWeb 5.5 | -OSX.4+ | -420 | -A | -
| Webkit | -iPod Touch / iPhone | -iPod | -420.1 | -A | -
| Webkit | -S60 | -S60 | -413 | -A | -
| Presto | -Opera 7.0 | -Win 95+ / OSX.1+ | -- | -A | -
| Presto | -Opera 7.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.0 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 9.0 | -Win 95+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.2 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.5 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera for Wii | -Wii | -- | -A | -
| Presto | -Nokia N800 | -N800 | -- | -A | -
| Presto | -Nintendo DS browser | -Nintendo DS | -8.5 | -C/A1 | -
| KHTML | -Konqureror 3.1 | -KDE 3.1 | -3.1 | -C | -
| KHTML | -Konqureror 3.3 | -KDE 3.3 | -3.3 | -A | -
| KHTML | -Konqureror 3.5 | -KDE 3.5 | -3.5 | -A | -
| Tasman | -Internet Explorer 4.5 | -Mac OS 8-9 | -- | -X | -
| Tasman | -Internet Explorer 5.1 | -Mac OS 7.6-9 | -1 | -C | -
| Tasman | -Internet Explorer 5.2 | -Mac OS 8-X | -1 | -C | -
| Misc | -NetFront 3.1 | -Embedded devices | -- | -C | -
| Misc | -NetFront 3.4 | -Embedded devices | -- | -A | -
| Misc | -Dillo 0.8 | -Embedded devices | -- | -X | -
| Misc | -Links | -Text only | -- | -X | -
| Misc | -Lynx | -Text only | -- | -X | -
| Misc | -IE Mobile | -Windows Mobile 6 | -- | -C | -
| Misc | -PSP browser | -PSP | -- | -C | -
| Other browsers | -All others | -- | -- | -U | -
{ target: DOMElement, params: Object } objects.
- */
- findElements: function(globalParams, element)
- {
- var elements = element ? [element] : toArray(document.getElementsByTagName(sh.config.tagName)),
- conf = sh.config,
- result = []
- ;
-
- // support for feature
- if (conf.useScriptTags)
- elements = elements.concat(getSyntaxHighlighterScriptTags());
-
- if (elements.length === 0)
- return result;
-
- for (var i = 0, l = elements.length; i < l; i++)
- {
- var item = {
- target: elements[i],
- // local params take precedence over globals
- params: merge(globalParams, parseParams(elements[i].className))
- };
-
- if (item.params['brush'] == null)
- continue;
-
- result.push(item);
- }
-
- return result;
- },
-
- /**
- * Shorthand to highlight all elements on the page that are marked as
- * SyntaxHighlighter source code.
- *
- * @param {Object} globalParams Optional parameters which override element's
- * parameters. Only used if element is specified.
- *
- * @param {Object} element Optional element to highlight. If none is
- * provided, all elements in the current document
- * are highlighted.
- */
- highlight: function(globalParams, element)
- {
- var elements = this.findElements(globalParams, element),
- propertyName = 'innerHTML',
- highlighter = null,
- conf = sh.config
- ;
-
- if (elements.length === 0)
- return;
-
- for (var i = 0, l = elements.length; i < l; i++)
- {
- var element = elements[i],
- target = element.target,
- params = element.params,
- brushName = params.brush,
- code
- ;
-
- if (brushName == null)
- continue;
-
- // Instantiate a brush
- if (params['html-script'] == 'true' || sh.defaults['html-script'] == true)
- {
- highlighter = new sh.HtmlScript(brushName);
- brushName = 'htmlscript';
- }
- else
- {
- var brush = findBrush(brushName);
-
- if (brush)
- highlighter = new brush();
- else
- continue;
- }
-
- code = target[propertyName];
-
- // remove CDATA from tags if it's present
- if (conf.useScriptTags)
- code = stripCData(code);
-
- // Inject title if the attribute is present
- if ((target.title || '') != '')
- params.title = target.title;
-
- params['brush'] = brushName;
- highlighter.init(params);
- element = highlighter.getDiv(code);
-
- // carry over ID
- if ((target.id || '') != '')
- element.id = target.id;
-
- target.parentNode.replaceChild(element, target);
- }
- },
-
- /**
- * Main entry point for the SyntaxHighlighter.
- * @param {Object} params Optional params to apply to all highlighted elements.
- */
- all: function(params)
- {
- attachEvent(
- window,
- 'load',
- function() { sh.highlight(params); }
- );
- }
-}; // end of sh
-
-/**
- * Checks if target DOM elements has specified CSS class.
- * @param {DOMElement} target Target DOM element to check.
- * @param {String} className Name of the CSS class to check for.
- * @return {Boolean} Returns true if class name is present, false otherwise.
- */
-function hasClass(target, className)
-{
- return target.className.indexOf(className) != -1;
-};
-
-/**
- * Adds CSS class name to the target DOM element.
- * @param {DOMElement} target Target DOM element.
- * @param {String} className New CSS class to add.
- */
-function addClass(target, className)
-{
- if (!hasClass(target, className))
- target.className += ' ' + className;
-};
-
-/**
- * Removes CSS class name from the target DOM element.
- * @param {DOMElement} target Target DOM element.
- * @param {String} className CSS class to remove.
- */
-function removeClass(target, className)
-{
- target.className = target.className.replace(className, '');
-};
-
-/**
- * Converts the source to array object. Mostly used for function arguments and
- * lists returned by getElementsByTagName() which aren't Array objects.
- * @param {List} source Source list.
- * @return {Array} Returns array.
- */
-function toArray(source)
-{
- var result = [];
-
- for (var i = 0, l = source.length; i < l; i++)
- result.push(source[i]);
-
- return result;
-};
-
-/**
- * Splits block of text into lines.
- * @param {String} block Block of text.
- * @return {Array} Returns array of lines.
- */
-function splitLines(block)
-{
- return block.split(/\r?\n/);
-}
-
-/**
- * Generates HTML ID for the highlighter.
- * @param {String} highlighterId Highlighter ID.
- * @return {String} Returns HTML ID.
- */
-function getHighlighterId(id)
-{
- var prefix = 'highlighter_';
- return id.indexOf(prefix) == 0 ? id : prefix + id;
-};
-
-/**
- * Finds Highlighter instance by ID.
- * @param {String} highlighterId Highlighter ID.
- * @return {Highlighter} Returns instance of the highlighter.
- */
-function getHighlighterById(id)
-{
- return sh.vars.highlighters[getHighlighterId(id)];
-};
-
-/**
- * Finds highlighter's DIV container.
- * @param {String} highlighterId Highlighter ID.
- * @return {Element} Returns highlighter's DIV element.
- */
-function getHighlighterDivById(id)
-{
- return document.getElementById(getHighlighterId(id));
-};
-
-/**
- * Stores highlighter so that getHighlighterById() can do its thing. Each
- * highlighter must call this method to preserve itself.
- * @param {Highilghter} highlighter Highlighter instance.
- */
-function storeHighlighter(highlighter)
-{
- sh.vars.highlighters[getHighlighterId(highlighter.id)] = highlighter;
-};
-
-/**
- * Looks for a child or parent node which has specified classname.
- * Equivalent to jQuery's $(container).find(".className")
- * @param {Element} target Target element.
- * @param {String} search Class name or node name to look for.
- * @param {Boolean} reverse If set to true, will go up the node tree instead of down.
- * @return {Element} Returns found child or parent element on null.
- */
-function findElement(target, search, reverse /* optional */)
-{
- if (target == null)
- return null;
-
- var nodes = reverse != true ? target.childNodes : [ target.parentNode ],
- propertyToFind = { '#' : 'id', '.' : 'className' }[search.substr(0, 1)] || 'nodeName',
- expectedValue,
- found
- ;
-
- expectedValue = propertyToFind != 'nodeName'
- ? search.substr(1)
- : search.toUpperCase()
- ;
-
- // main return of the found node
- if ((target[propertyToFind] || '').indexOf(expectedValue) != -1)
- return target;
-
- for (var i = 0, l = nodes.length; nodes && i < l && found == null; i++)
- found = findElement(nodes[i], search, reverse);
-
- return found;
-};
-
-/**
- * Looks for a parent node which has specified classname.
- * This is an alias to findElement(container, className, true).
- * @param {Element} target Target element.
- * @param {String} className Class name to look for.
- * @return {Element} Returns found parent element on null.
- */
-function findParentElement(target, className)
-{
- return findElement(target, className, true);
-};
-
-/**
- * Finds an index of element in the array.
- * @ignore
- * @param {Object} searchElement
- * @param {Number} fromIndex
- * @return {Number} Returns index of element if found; -1 otherwise.
- */
-function indexOf(array, searchElement, fromIndex)
-{
- fromIndex = Math.max(fromIndex || 0, 0);
-
- for (var i = fromIndex, l = array.length; i < l; i++)
- if(array[i] == searchElement)
- return i;
-
- return -1;
-};
-
-/**
- * Generates a unique element ID.
- */
-function guid(prefix)
-{
- return (prefix || '') + Math.round(Math.random() * 1000000).toString();
-};
-
-/**
- * Merges two objects. Values from obj2 override values in obj1.
- * Function is NOT recursive and works only for one dimensional objects.
- * @param {Object} obj1 First object.
- * @param {Object} obj2 Second object.
- * @return {Object} Returns combination of both objects.
- */
-function merge(obj1, obj2)
-{
- var result = {}, name;
-
- for (name in obj1)
- result[name] = obj1[name];
-
- for (name in obj2)
- result[name] = obj2[name];
-
- return result;
-};
-
-/**
- * Attempts to convert string to boolean.
- * @param {String} value Input string.
- * @return {Boolean} Returns true if input was "true", false if input was "false" and value otherwise.
- */
-function toBoolean(value)
-{
- var result = { "true" : true, "false" : false }[value];
- return result == null ? value : result;
-};
-
-/**
- * Opens up a centered popup window.
- * @param {String} url URL to open in the window.
- * @param {String} name Popup name.
- * @param {int} width Popup width.
- * @param {int} height Popup height.
- * @param {String} options window.open() options.
- * @return {Window} Returns window instance.
- */
-function popup(url, name, width, height, options)
-{
- var x = (screen.width - width) / 2,
- y = (screen.height - height) / 2
- ;
-
- options += ', left=' + x +
- ', top=' + y +
- ', width=' + width +
- ', height=' + height
- ;
- options = options.replace(/^,/, '');
-
- var win = window.open(url, name, options);
- win.focus();
- return win;
-};
-
-/**
- * Adds event handler to the target object.
- * @param {Object} obj Target object.
- * @param {String} type Name of the event.
- * @param {Function} func Handling function.
- */
-function attachEvent(obj, type, func, scope)
-{
- function handler(e)
- {
- e = e || window.event;
-
- if (!e.target)
- {
- e.target = e.srcElement;
- e.preventDefault = function()
- {
- this.returnValue = false;
- };
- }
-
- func.call(scope || window, e);
- };
-
- if (obj.attachEvent)
- {
- obj.attachEvent('on' + type, handler);
- }
- else
- {
- obj.addEventListener(type, handler, false);
- }
-};
-
-/**
- * Displays an alert.
- * @param {String} str String to display.
- */
-function alert(str)
-{
- window.alert(sh.config.strings.alert + str);
-};
-
-/**
- * Finds a brush by its alias.
- *
- * @param {String} alias Brush alias.
- * @param {Boolean} showAlert Suppresses the alert if false.
- * @return {Brush} Returns bursh constructor if found, null otherwise.
- */
-function findBrush(alias, showAlert)
-{
- var brushes = sh.vars.discoveredBrushes,
- result = null
- ;
-
- if (brushes == null)
- {
- brushes = {};
-
- // Find all brushes
- for (var brush in sh.brushes)
- {
- var info = sh.brushes[brush],
- aliases = info.aliases
- ;
-
- if (aliases == null)
- continue;
-
- // keep the brush name
- info.brushName = brush.toLowerCase();
-
- for (var i = 0, l = aliases.length; i < l; i++)
- brushes[aliases[i]] = brush;
- }
-
- sh.vars.discoveredBrushes = brushes;
- }
-
- result = sh.brushes[brushes[alias]];
-
- if (result == null && showAlert)
- alert(sh.config.strings.noBrush + alias);
-
- return result;
-};
-
-/**
- * Executes a callback on each line and replaces each line with result from the callback.
- * @param {Object} str Input string.
- * @param {Object} callback Callback function taking one string argument and returning a string.
- */
-function eachLine(str, callback)
-{
- var lines = splitLines(str);
-
- for (var i = 0, l = lines.length; i < l; i++)
- lines[i] = callback(lines[i], i);
-
- // include \r to enable copy-paste on windows (ie8) without getting everything on one line
- return lines.join('\r\n');
-};
-
-/**
- * This is a special trim which only removes first and last empty lines
- * and doesn't affect valid leading space on the first line.
- *
- * @param {String} str Input string
- * @return {String} Returns string without empty first and last lines.
- */
-function trimFirstAndLastLines(str)
-{
- return str.replace(/^[ ]*[\n]+|[\n]*[ ]*$/g, '');
-};
-
-/**
- * Parses key/value pairs into hash object.
- *
- * Understands the following formats:
- * - name: word;
- * - name: [word, word];
- * - name: "string";
- * - name: 'string';
- *
- * For example:
- * name1: value; name2: [value, value]; name3: 'value'
- *
- * @param {String} str Input string.
- * @return {Object} Returns deserialized object.
- */
-function parseParams(str)
-{
- var match,
- result = {},
- arrayRegex = XRegExp("^\\[(? tag with given style applied to it.
- *
- * @param {String} str Input string.
- * @param {String} css Style name to apply to the string.
- * @return {String} Returns input string with each line surrounded by tag.
- */
-function wrapLinesWithCode(str, css)
-{
- if (str == null || str.length == 0 || str == '\n')
- return str;
-
- str = str.replace(/... to them so that
- // leading spaces aren't included.
- if (css != null)
- str = eachLine(str, function(line)
- {
- if (line.length == 0)
- return '';
-
- var spaces = '';
-
- line = line.replace(/^( | )+/, function(s)
- {
- spaces = s;
- return '';
- });
-
- if (line.length == 0)
- return spaces;
-
- return spaces + '' + line + '';
- });
-
- return str;
-};
-
-/**
- * Pads number with zeros until it's length is the same as given length.
- *
- * @param {Number} number Number to pad.
- * @param {Number} length Max string length with.
- * @return {String} Returns a string padded with proper amount of '0'.
- */
-function padNumber(number, length)
-{
- var result = number.toString();
-
- while (result.length < length)
- result = '0' + result;
-
- return result;
-};
-
-/**
- * Replaces tabs with spaces.
- *
- * @param {String} code Source code.
- * @param {Number} tabSize Size of the tab.
- * @return {String} Returns code with all tabs replaces by spaces.
- */
-function processTabs(code, tabSize)
-{
- var tab = '';
-
- for (var i = 0; i < tabSize; i++)
- tab += ' ';
-
- return code.replace(/\t/g, tab);
-};
-
-/**
- * Replaces tabs with smart spaces.
- *
- * @param {String} code Code to fix the tabs in.
- * @param {Number} tabSize Number of spaces in a column.
- * @return {String} Returns code with all tabs replaces with roper amount of spaces.
- */
-function processSmartTabs(code, tabSize)
-{
- var lines = splitLines(code),
- tab = '\t',
- spaces = ''
- ;
-
- // Create a string with 1000 spaces to copy spaces from...
- // It's assumed that there would be no indentation longer than that.
- for (var i = 0; i < 50; i++)
- spaces += ' '; // 20 spaces * 50
-
- // This function inserts specified amount of spaces in the string
- // where a tab is while removing that given tab.
- function insertSpaces(line, pos, count)
- {
- return line.substr(0, pos)
- + spaces.substr(0, count)
- + line.substr(pos + 1, line.length) // pos + 1 will get rid of the tab
- ;
- };
-
- // Go through all the lines and do the 'smart tabs' magic.
- code = eachLine(code, function(line)
- {
- if (line.indexOf(tab) == -1)
- return line;
-
- var pos = 0;
-
- while ((pos = line.indexOf(tab)) != -1)
- {
- // This is pretty much all there is to the 'smart tabs' logic.
- // Based on the position within the line and size of a tab,
- // calculate the amount of spaces we need to insert.
- var spaces = tabSize - pos % tabSize;
- line = insertSpaces(line, pos, spaces);
- }
-
- return line;
- });
-
- return code;
-};
-
-/**
- * Performs various string fixes based on configuration.
- */
-function fixInputString(str)
-{
- var br = /regexList collection.
- * @return {Array} Returns a list of Match objects.
- */
-function getMatches(code, regexInfo)
-{
- function defaultAdd(match, regexInfo)
- {
- return match[0];
- };
-
- var index = 0,
- match = null,
- matches = [],
- func = regexInfo.func ? regexInfo.func : defaultAdd
- pos = 0
- ;
-
- while((match = XRegExp.exec(code, regexInfo.regex, pos)) != null)
- {
- var resultMatch = func(match, regexInfo);
-
- if (typeof(resultMatch) == 'string')
- resultMatch = [new sh.Match(resultMatch, match.index, regexInfo.css)];
-
- matches = matches.concat(resultMatch);
- pos = match.index + match[0].length;
- }
-
- return matches;
-};
-
-/**
- * Turns all URLs in the code into tags.
- * @param {String} code Input code.
- * @return {String} Returns code with tags.
- */
-function processUrls(code)
-{
- var gt = /(.*)((>|<).*)/;
-
- return code.replace(sh.regexLib.url, function(m)
- {
- var suffix = '',
- match = null
- ;
-
- // We include < and > in the URL for the common cases like ' + spaces + '' : '') + line
- );
- }
-
- return html;
- },
-
- /**
- * Returns HTML for the table title or empty string if title is null.
- */
- getTitleHtml: function(title)
- {
- return title ? '| ' + this.getLineNumbersHtml(code) + ' | ' : '') - + ''
- + ' '
- + html
- + ' '
- + ' | '
- + '
.*?)" +
- "(?" + regex.end + ")",
- "sgi"
- )
- };
- }
-}; // end of Highlighter
-
-return sh;
-}(); // end of anonymous function
-
-// CommonJS
-typeof(exports) != 'undefined' ? exports.SyntaxHighlighter = SyntaxHighlighter : null;
-
-
-
-// JS brush
-;(function()
-{
- // CommonJS
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
-
- function Brush()
- {
- var keywords = 'break case catch class continue ' +
- 'default delete do else enum export extends false ' +
- 'for function if implements import in instanceof ' +
- 'interface let new null package private protected ' +
- 'static return super switch ' +
- 'this throw true try typeof var while with yield';
-
- var r = SyntaxHighlighter.regexLib;
-
- this.regexList = [
- { regex: r.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
- { regex: r.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
- { regex: r.singleLineCComments, css: 'comments' }, // one line comments
- { regex: r.multiLineCComments, css: 'comments' }, // multiline comments
- { regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
- { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords
- ];
-
- this.forHtmlScript(r.scriptScriptTags);
- };
-
- Brush.prototype = new SyntaxHighlighter.Highlighter();
- Brush.aliases = ['js', 'jscript', 'javascript', 'json'];
-
- SyntaxHighlighter.brushes.JScript = Brush;
-
- // CommonJS
- typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
-
-
-
-// XML / HTML brush
-;(function()
-{
- // CommonJS
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
-
- function Brush()
- {
- function process(match, regexInfo)
- {
- var constructor = SyntaxHighlighter.Match,
- code = match[0],
- tag = XRegExp.exec(code, XRegExp('(<|<)[\\s\\/\\?!]*(?[:\\w-\\.]+)', 'xg')),
- result = []
- ;
-
- if (match.attributes != null)
- {
- var attributes,
- pos = 0,
- regex = XRegExp('(? [\\w:.-]+)' +
- '\\s*=\\s*' +
- '(? ".*?"|\'.*?\'|\\w+)',
- 'xg');
-
- while ((attributes = XRegExp.exec(code, regex, pos)) != null)
- {
- result.push(new constructor(attributes.name, match.index + attributes.index, 'color1'));
- result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string'));
- pos = attributes.index + attributes[0].length;
- }
- }
-
- if (tag != null)
- result.push(
- new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword')
- );
-
- return result;
- }
-
- this.regexList = [
- { regex: XRegExp('(\\<|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\>|>)', 'gm'), css: 'color2' }, //
- { regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, //
- { regex: XRegExp('(<|<)[\\s\\/\\?!]*(\\w+)(?.*?)[\\s\\/\\?]*(>|>)', 'sg'), func: process }
- ];
- };
-
- Brush.prototype = new SyntaxHighlighter.Highlighter();
- Brush.aliases = ['xml', 'xhtml', 'xslt', 'html', 'plist'];
-
- SyntaxHighlighter.brushes.Xml = Brush;
-
- // CommonJS
- typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
-
-
-
-// CSS brush
-;(function()
-{
- // CommonJS
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
-
- function Brush()
- {
- function getKeywordsCSS(str)
- {
- return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b';
- };
-
- function getValuesCSS(str)
- {
- return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b';
- };
-
- var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' +
- 'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' +
- 'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' +
- 'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' +
- 'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' +
- 'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' +
- 'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' +
- 'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' +
- 'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' +
- 'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' +
- 'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' +
- 'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' +
- 'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' +
- 'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index';
-
- var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+
- 'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+
- 'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double '+
- 'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+
- 'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+
- 'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+
- 'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+
- 'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+
- 'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+
- 'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+
- 'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+
- 'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+
- 'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+
- 'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow';
-
- var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif';
-
- this.regexList = [
- { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
- { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
- { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
- { regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors
- { regex: /(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)/g, css: 'value' }, // sizes
- { regex: /!important/g, css: 'color3' }, // !important
- { regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords
- { regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values
- { regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts
- ];
-
- this.forHtmlScript({
- left: /(<|<)\s*style.*?(>|>)/gi,
- right: /(<|<)\/\s*style\s*(>|>)/gi
- });
- };
-
- Brush.prototype = new SyntaxHighlighter.Highlighter();
- Brush.aliases = ['css'];
-
- SyntaxHighlighter.brushes.CSS = Brush;
-
- // CommonJS
- typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
-
-
-
-// PHP brush
-;(function()
-{
- // CommonJS
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
-
- function Brush()
- {
- var funcs = 'abs acos acosh addcslashes addslashes ' +
- 'array_change_key_case array_chunk array_combine array_count_values array_diff '+
- 'array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_fill '+
- 'array_filter array_flip array_intersect array_intersect_assoc array_intersect_key '+
- 'array_intersect_uassoc array_intersect_ukey array_key_exists array_keys array_map '+
- 'array_merge array_merge_recursive array_multisort array_pad array_pop array_product '+
- 'array_push array_rand array_reduce array_reverse array_search array_shift '+
- 'array_slice array_splice array_sum array_udiff array_udiff_assoc '+
- 'array_udiff_uassoc array_uintersect array_uintersect_assoc '+
- 'array_uintersect_uassoc array_unique array_unshift array_values array_walk '+
- 'array_walk_recursive atan atan2 atanh base64_decode base64_encode base_convert '+
- 'basename bcadd bccomp bcdiv bcmod bcmul bindec bindtextdomain bzclose bzcompress '+
- 'bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite ceil chdir '+
- 'checkdate checkdnsrr chgrp chmod chop chown chr chroot chunk_split class_exists '+
- 'closedir closelog copy cos cosh count count_chars date decbin dechex decoct '+
- 'deg2rad delete ebcdic2ascii echo empty end ereg ereg_replace eregi eregi_replace error_log '+
- 'error_reporting escapeshellarg escapeshellcmd eval exec exit exp explode extension_loaded '+
- 'feof fflush fgetc fgetcsv fgets fgetss file_exists file_get_contents file_put_contents '+
- 'fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype '+
- 'floatval flock floor flush fmod fnmatch fopen fpassthru fprintf fputcsv fputs fread fscanf '+
- 'fseek fsockopen fstat ftell ftok getallheaders getcwd getdate getenv gethostbyaddr gethostbyname '+
- 'gethostbynamel getimagesize getlastmod getmxrr getmygid getmyinode getmypid getmyuid getopt '+
- 'getprotobyname getprotobynumber getrandmax getrusage getservbyname getservbyport gettext '+
- 'gettimeofday gettype glob gmdate gmmktime ini_alter ini_get ini_get_all ini_restore ini_set '+
- 'interface_exists intval ip2long is_a is_array is_bool is_callable is_dir is_double '+
- 'is_executable is_file is_finite is_float is_infinite is_int is_integer is_link is_long '+
- 'is_nan is_null is_numeric is_object is_readable is_real is_resource is_scalar is_soap_fault '+
- 'is_string is_subclass_of is_uploaded_file is_writable is_writeable mkdir mktime nl2br '+
- 'parse_ini_file parse_str parse_url passthru pathinfo print readlink realpath rewind rewinddir rmdir '+
- 'round str_ireplace str_pad str_repeat str_replace str_rot13 str_shuffle str_split '+
- 'str_word_count strcasecmp strchr strcmp strcoll strcspn strftime strip_tags stripcslashes '+
- 'stripos stripslashes stristr strlen strnatcasecmp strnatcmp strncasecmp strncmp strpbrk '+
- 'strpos strptime strrchr strrev strripos strrpos strspn strstr strtok strtolower strtotime '+
- 'strtoupper strtr strval substr substr_compare';
-
- var keywords = 'abstract and array as break case catch cfunction class clone const continue declare default die do ' +
- 'else elseif enddeclare endfor endforeach endif endswitch endwhile extends final finally for foreach ' +
- 'function global goto if implements include include_once interface instanceof insteadof namespace new ' +
- 'old_function or private protected public return require require_once static switch ' +
- 'trait throw try use var while xor yield ';
-
- var constants = '__FILE__ __LINE__ __METHOD__ __FUNCTION__ __CLASS__';
-
- this.regexList = [
- { regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
- { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
- { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
- { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
- { regex: /\$\w+/g, css: 'variable' }, // variables
- { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // common functions
- { regex: new RegExp(this.getKeywords(constants), 'gmi'), css: 'constants' }, // constants
- { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keyword
- ];
-
- this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
- };
-
- Brush.prototype = new SyntaxHighlighter.Highlighter();
- Brush.aliases = ['php'];
-
- SyntaxHighlighter.brushes.Php = Brush;
-
- // CommonJS
- typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
-
-
-;(function()
-{
- // CommonJS
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
-
- function Brush()
- {
- var funcs = 'abs avg case cast coalesce convert count current_timestamp ' +
- 'current_user day isnull left lower month nullif replace right ' +
- 'session_user space substring sum system_user upper user year';
-
- var keywords = 'absolute action add after alter as asc at authorization begin bigint ' +
- 'binary bit by cascade char character check checkpoint close collate ' +
- 'column commit committed connect connection constraint contains continue ' +
- 'create cube current current_date current_time cursor database date ' +
- 'deallocate dec decimal declare default delete desc distinct double drop ' +
- 'dynamic else end end-exec escape except exec execute false fetch first ' +
- 'float for force foreign forward free from full function global goto grant ' +
- 'group grouping having hour ignore index inner insensitive insert instead ' +
- 'int integer intersect into is isolation key last level load local max min ' +
- 'minute modify move name national nchar next no numeric of off on only ' +
- 'open option order out output partial password precision prepare primary ' +
- 'prior privileges procedure public read real references relative repeatable ' +
- 'restrict return returns revoke rollback rollup rows rule schema scroll ' +
- 'second section select sequence serializable set size smallint static ' +
- 'statistics table temp temporary then time timestamp to top transaction ' +
- 'translation trigger true truncate uncommitted union unique update values ' +
- 'varchar varying view when where with work';
-
- var operators = 'all and any between cross in join like not null or outer some';
-
- this.regexList = [
- { regex: /--(.*)$/gm, css: 'comments' }, // one line comments
- { regex: /\/\*([^\*][\s\S]*?)?\*\//gm, css: 'comments' }, // multi line comments
- { regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
- { regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
- { regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'color2' }, // functions
- { regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such
- { regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
- ];
- };
-
- Brush.prototype = new SyntaxHighlighter.Highlighter();
- Brush.aliases = ['sql'];
-
- SyntaxHighlighter.brushes.Sql = Brush;
-
- // CommonJS
- typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
-
-
-
-;(function()
-{
- // CommonJS
- SyntaxHighlighter = SyntaxHighlighter || (typeof require !== 'undefined'? require('shCore').SyntaxHighlighter : null);
-
- function Brush()
- {
- };
-
- Brush.prototype = new SyntaxHighlighter.Highlighter();
- Brush.aliases = ['text', 'plain'];
-
- SyntaxHighlighter.brushes.Plain = Brush;
-
- // CommonJS
- typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
-})();
-
-
-SyntaxHighlighter.all();
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/custom_vars.html b/src/sunstone/public/bower_components/datatables/examples/server_side/custom_vars.html
deleted file mode 100644
index 3feebabebe..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/custom_vars.html
+++ /dev/null
@@ -1,323 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Custom HTTP variables
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Custom HTTP variables
-
-
- It can often be useful to send extra information to the server when utilising DataTables'
- server-side processing option. This is done by using the ajaxDT option's data parameter
- which can be used in one of two different ways:
-
-
- object - An object data to send to the server. This is useful for adding static
- data to the request.
- function - A function which will manipulate the data object to send to the server,
- adding values as required. Using the data parameter as a function allows the
- additional data to evaluated and added to the request at the time the request is made.
-
-
- The example below shows server-side processing being used with an extra parameter being sent to the
- server by using the ajax.data option as a function.
-
-
-
-
-
- Name
- Position
- Office
- Extn.
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Extn.
- Start date
- Salary
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable( {
- "processing": true,
- "serverSide": true,
- "ajax": {
- "url": "scripts/server_processing.php",
- "data": function ( d ) {
- d.myKey = "myValue";
- // d.custom = $('#myInput').val();
- // etc
- }
- }
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/defer_loading.html b/src/sunstone/public/bower_components/datatables/examples/server_side/defer_loading.html
deleted file mode 100644
index d81abba8a7..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/defer_loading.html
+++ /dev/null
@@ -1,394 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Deferred loading of data
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Deferred loading of data
-
-
- When using DataTables with server-side processing, the default behaviour is to have DataTables
- automatically make an Ajax call and load the data, removing anything which might have already been in
- the table. However, this behaviour might not always be desirable when the first page of the table has
- already been preloaded in the HTML (which you might do to ensure accessibility or for performance
- reasons).
-
- This automatic Ajax call to get the first page of data can be overridden by using the deferLoadingDT initialisation property. It
- serves two purposes, firstly to indicate that deferred loading is required, but also to tell DataTables
- how many records there are in the full table, in this case 57 (this allows the information element and
- pagination to be displayed correctly).
-
- In the example below, the HTML page already has the first 10 rows of data available it in, so we use
- deferLoadingDT to tell DataTables that this
- data is available and that it should wait for under interaction (ordering, paging etc) before making an
- Ajax call.
- "
-
-
-
-
- First name
- Last name
- Position
- Office
- Start date
- Salary
-
-
-
-
-
- First name
- Last name
- Position
- Office
- Start date
- Salary
-
-
-
-
- Airi Satou
- Accountant
- Tokyo
- 33
- 2008/11/28
- $162,700
-
-
- Angelica Ramos
- Chief Executive Officer (CEO)
- London
- 47
- 2009/10/09
- $1,200,000
-
-
- Ashton Cox
- Junior Technical Author
- San Francisco
- 66
- 2009/01/12
- $86,000
-
-
- Bradley Greer
- Software Engineer
- London
- 41
- 2012/10/13
- $132,000
-
-
- Brenden Wagner
- Software Engineer
- San Francisco
- 28
- 2011/06/07
- $206,850
-
-
- Brielle Williamson
- Integration Specialist
- New York
- 61
- 2012/12/02
- $372,000
-
-
- Bruno Nash
- Software Engineer
- London
- 38
- 2011/05/03
- $163,500
-
-
- Caesar Vance
- Pre-Sales Support
- New York
- 21
- 2011/12/12
- $106,450
-
-
- Cara Stevens
- Sales Assistant
- New York
- 46
- 2011/12/06
- $145,600
-
-
- Cedric Kelly
- Senior Javascript Developer
- Edinburgh
- 22
- 2012/03/29
- $433,060
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable( {
- "processing": true,
- "serverSide": true,
- "ajax": "scripts/server_processing.php",
- "deferLoading": 57
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/ids.html b/src/sunstone/public/bower_components/datatables/examples/server_side/ids.html
deleted file mode 100644
index 70d1936568..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/ids.html
+++ /dev/null
@@ -1,327 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Automatic addition of row ID attributes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Automatic addition of row ID attributes
-
-
- Often when using server-side processing you will find that it can be useful to have a specific ID on
- each row (the primary key value from the database for example). By assigning the ID you want to apply
- to each row using the property DT_RowId of the data source object for each row, DataTables
- will automatically add it for you.
-
- In addition to DT_RowId there are two other properties which perform similar actions:
- DT_RowClass and DT_RowData:
-
-
- - {string}
DT_RowId - Add an ID to the TR element
- - {string}
DT_RowClass - Add a class name to the TR element
- - {object}
DT_RowData - Add HTML5 data- attributes to the TR
- element. This is an object of key / value pairs which are assigned as data attributes to the
- TR element.
-
-
- This example below shows DT_RowId being used to add information to the table. In
- addition objects are used as the data source for the rows.
-
-
-
-
-
- Name
- Position
- Office
- Extn.
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Extn.
- Start date
- Salary
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable( {
- "processing": true,
- "serverSide": true,
- "ajax": "scripts/ids-objects.php",
- "columns": [
- { "data": "first_name" },
- { "data": "last_name" },
- { "data": "position" },
- { "data": "office" },
- { "data": "start_date" },
- { "data": "salary" }
- ]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/index.html b/src/sunstone/public/bower_components/datatables/examples/server_side/index.html
deleted file mode 100644
index 2c5059c045..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/index.html
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables examples - Server-side processing
-
-
-
-
-
- DataTables example Server-side processing
-
-
- There are many ways to get your data into DataTables, and if you are working with seriously large
- databases, you might want to consider using the server-side options that DataTables provides. With
- server-side processing enabled, all paging, searching, ordering etc actions that DataTables performs
- are handed off to a server where an SQL engine (or similar) can perform these actions on the large data
- set (after all, that's what the database engine is designed for!). As such, each draw of the table will
- result in a new Ajax request being made to get the required data.
-
- Server-side processing is enabled by setting the serverSideDT option to true and
- providing an Ajax data source through the ajaxDT option.
-
- The examples in this section shows server-side processing in use and how it can be customised to
- suit your needs.
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/jsonp.html b/src/sunstone/public/bower_components/datatables/examples/server_side/jsonp.html
deleted file mode 100644
index 71fb4b4a52..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/jsonp.html
+++ /dev/null
@@ -1,317 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - JSONP data source for remote domains
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example JSONP data source for remote domains
-
-
- JSONP is one of
- several methods to allow the use of JSON data from any server (browsers have XSS protection rules which
- will block standard Ajax requests to remote source for security reasons). Using JSONP allows DataTables
- to load server-side sourced data from any domain and is quite simply done with the
- dataType option of the ajaxDT initialisation
- option.
-
- When given as an object, the ajaxDT option maps directly onto the
- jQuery ajax options (i.e. any option that can be used
- in jQuery's Ajax function can also be used in DataTable's ajaxDT option).
-
- The example below shows ajaxDT being used with the
- dataType option set to retrieve JSONP data for server-side processing in DataTables.
-
-
-
-
-
- Name
- Position
- Office
- Extn.
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Extn.
- Start date
- Salary
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable( {
- "processing": true,
- "serverSide": true,
- "ajax": {
- "url": "scripts/jsonp.php",
- "dataType": "jsonp"
- }
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/object_data.html b/src/sunstone/public/bower_components/datatables/examples/server_side/object_data.html
deleted file mode 100644
index cd714ce289..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/object_data.html
+++ /dev/null
@@ -1,320 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Object data source
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Object data source
-
-
- The default data format that DataTables expects for server-side processing is a 2D array of data
- (rows by columns). However, this is often not flexible enough for either the server-side environment,
- or you might want to convey more information in the data source than is necessary to show in the table
- (row IDs from the database for example). For these situations DataTables supports the reading of data
- for objects as well as arrays.
-
- In this example the server responds with an array of objects, where DataTables will look up and use
- each property that is specified by the columns.dataDT property given for each
- column.
-
-
-
-
-
- Name
- Position
- Office
- Extn.
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Extn.
- Start date
- Salary
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable( {
- "processing": true,
- "serverSide": true,
- "ajax": "scripts/objects.php",
- "columns": [
- { "data": "first_name" },
- { "data": "last_name" },
- { "data": "position" },
- { "data": "office" },
- { "data": "start_date" },
- { "data": "salary" }
- ]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/pipeline.html b/src/sunstone/public/bower_components/datatables/examples/server_side/pipeline.html
deleted file mode 100644
index 96c0d35ba5..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/pipeline.html
+++ /dev/null
@@ -1,554 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Pipelining data to reduce Ajax calls for paging
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Pipelining data to reduce Ajax calls for paging
-
-
- Sever-side processing can be quite hard on your server, since it makes an Ajax call to the server
- for every draw request that is made. On sites with a large number of page views, you could potentially
- end up DDoSing your own server with your own applications!
-
- This example shows one technique to reduce the number of Ajax calls that are made to the server by
- caching more data than is needed for each draw. This is done by intercepting the Ajax call and routing
- it through a data cache control; using the data from the cache if available, and making the Ajax
- request if not. This intercept of the Ajax request is performed by giving the ajaxDT option as a function. This function
- then performs the logic of deciding if another Ajax call is needed, or if data from the cache can be
- used.
-
- Keep in mind that this caching is for paging only; the pipeline must be cleared for other
- interactions such as ordering and searching since the full data set, when using server-side processing,
- is only available at the server.
-
-
-
-
-
- Name
- Position
- Office
- Extn.
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Extn.
- Start date
- Salary
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
//
-// Pipelining function for DataTables. To be used to the `ajax` option of DataTables
-//
-$.fn.dataTable.pipeline = function ( opts ) {
- // Configuration options
- var conf = $.extend( {
- pages: 5, // number of pages to cache
- url: '', // script url
- data: null, // function or object with parameters to send to the server
- // matching how `ajax.data` works in DataTables
- method: 'GET' // Ajax HTTP method
- }, opts );
-
- // Private variables for storing the cache
- var cacheLower = -1;
- var cacheUpper = null;
- var cacheLastRequest = null;
- var cacheLastJson = null;
-
- return function ( request, drawCallback, settings ) {
- var ajax = false;
- var requestStart = request.start;
- var drawStart = request.start;
- var requestLength = request.length;
- var requestEnd = requestStart + requestLength;
-
- if ( settings.clearCache ) {
- // API requested that the cache be cleared
- ajax = true;
- settings.clearCache = false;
- }
- else if ( cacheLower < 0 || requestStart < cacheLower || requestEnd > cacheUpper ) {
- // outside cached data - need to make a request
- ajax = true;
- }
- else if ( JSON.stringify( request.order ) !== JSON.stringify( cacheLastRequest.order ) ||
- JSON.stringify( request.columns ) !== JSON.stringify( cacheLastRequest.columns ) ||
- JSON.stringify( request.search ) !== JSON.stringify( cacheLastRequest.search )
- ) {
- // properties changed (ordering, columns, searching)
- ajax = true;
- }
-
- // Store the request for checking next time around
- cacheLastRequest = $.extend( true, {}, request );
-
- if ( ajax ) {
- // Need data from the server
- if ( requestStart < cacheLower ) {
- requestStart = requestStart - (requestLength*(conf.pages-1));
-
- if ( requestStart < 0 ) {
- requestStart = 0;
- }
- }
-
- cacheLower = requestStart;
- cacheUpper = requestStart + (requestLength * conf.pages);
-
- request.start = requestStart;
- request.length = requestLength*conf.pages;
-
- // Provide the same `data` options as DataTables.
- if ( $.isFunction ( conf.data ) ) {
- // As a function it is executed with the data object as an arg
- // for manipulation. If an object is returned, it is used as the
- // data object to submit
- var d = conf.data( request );
- if ( d ) {
- $.extend( request, d );
- }
- }
- else if ( $.isPlainObject( conf.data ) ) {
- // As an object, the data given extends the default
- $.extend( request, conf.data );
- }
-
- settings.jqXHR = $.ajax( {
- "type": conf.method,
- "url": conf.url,
- "data": request,
- "dataType": "json",
- "cache": false,
- "success": function ( json ) {
- cacheLastJson = $.extend(true, {}, json);
-
- if ( cacheLower != drawStart ) {
- json.data.splice( 0, drawStart-cacheLower );
- }
- json.data.splice( requestLength, json.data.length );
-
- drawCallback( json );
- }
- } );
- }
- else {
- json = $.extend( true, {}, cacheLastJson );
- json.draw = request.draw; // Update the echo for each response
- json.data.splice( 0, requestStart-cacheLower );
- json.data.splice( requestLength, json.data.length );
-
- drawCallback(json);
- }
- }
-};
-
-// Register an API method that will empty the pipelined data, forcing an Ajax
-// fetch on the next draw (i.e. `table.clearPipeline().draw()`)
-$.fn.dataTable.Api.register( 'clearPipeline()', function () {
- return this.iterator( 'table', function ( settings ) {
- settings.clearCache = true;
- } );
-} );
-
-
-//
-// DataTables initialisation
-//
-$(document).ready(function() {
- $('#example').dataTable( {
- "processing": true,
- "serverSide": true,
- "ajax": $.fn.dataTable.pipeline( {
- url: 'scripts/server_processing.php',
- pages: 5 // number of pages to cache
- } )
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/post.html b/src/sunstone/public/bower_components/datatables/examples/server_side/post.html
deleted file mode 100644
index df5cb3fec5..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/post.html
+++ /dev/null
@@ -1,332 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - POST data
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example POST data
-
-
- By default, the Ajax request that DataTables makes to obtain server-side processing data is an HTTP
- GET request. However, there are times when you might wish to use POST. This is very easily done by
- using the type option of the ajaxDT initialisation
- option.
-
- When given as an object, the ajaxDT option maps directly onto the
- jQuery ajax options (i.e. any option that can be used
- in jQuery's Ajax function can also be used in DataTable's ajaxDT option).
-
- The example below shows ajaxDT being used with the type
- option set to POST to make a POST request.
-
-
-
-
-
- Name
- Position
- Office
- Extn.
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Extn.
- Start date
- Salary
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable( {
- "processing": true,
- "serverSide": true,
- "ajax": {
- "url": "scripts/post.php",
- "type": "POST"
- },
- "columns": [
- { "data": "first_name" },
- { "data": "last_name" },
- { "data": "position" },
- { "data": "office" },
- { "data": "start_date" },
- { "data": "salary" }
- ]
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/row_details.html b/src/sunstone/public/bower_components/datatables/examples/server_side/row_details.html
deleted file mode 100644
index bb3085692f..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/row_details.html
+++ /dev/null
@@ -1,437 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Row details
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Row details
-
-
- This example shows the use of DataTables' ability to show and hide child rows which are attached to
- a parent row in the host table. This is often used to show additional information about a row,
- particularly when you wish to convey more information about a row than there is space for in the host
- table.
-
- The example below shows server-side processing being used with the first column having an event
- listener attached to it which will toggle the child row's display. This is set up using columns.dataDT and columns.defaultContentDT, in combination
- with CSS to show an empty cell with a background image which can be clicked upon.
-
- The event handler makes use of the row().childDT methods to firstly check if a
- row is already displayed, and if so hide it, if not show it. The content of the child row is, in this
- example, defined by the formatDetails() function, but you would replace that with whatever
- you wanted to show the content required, possibly including, for example, an Ajax call to the server to
- obtain the extra information to show. Note that the format details function has access to the full data
- source object for the row, including information that is not actually shown in the table (the salary
- parameter for example).
-
- Furthermore, this example shows a small difference from the client-side row details example in that to have rows automatically reopen
- when the table is redrawn, we need to track a unique identifier for each row - in this case the row
- id. This is required because in server-side processing mode rows are automatically
- destroyed and recreated on each draw.
-
-
-
-
-
-
- First name
- Last name
- Position
- Office
-
-
-
-
-
-
- First name
- Last name
- Position
- Office
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
function format ( d ) {
- return 'Full name: '+d.first_name+' '+d.last_name+'<br>'+
- 'Salary: '+d.salary+'<br>'+
- 'The child row can contain any data you wish, including links, images, inner tables etc.';
-}
-
-$(document).ready(function() {
- var dt = $('#example').DataTable( {
- "processing": true,
- "serverSide": true,
- "ajax": "scripts/ids-objects.php",
- "columns": [
- {
- "class": "details-control",
- "orderable": false,
- "data": null,
- "defaultContent": ""
- },
- { "data": "first_name" },
- { "data": "last_name" },
- { "data": "position" },
- { "data": "office" }
- ],
- "order": [[1, 'asc']]
- } );
-
- // Array to track the ids of the details displayed rows
- var detailRows = [];
-
- $('#example tbody').on( 'click', 'tr td:first-child', function () {
- var tr = $(this).closest('tr');
- var row = dt.row( tr );
- var idx = $.inArray( tr.attr('id'), detailRows );
-
- if ( row.child.isShown() ) {
- tr.removeClass( 'details' );
- row.child.hide();
-
- // Remove from the 'open' array
- detailRows.splice( idx, 1 );
- }
- else {
- tr.addClass( 'details' );
- row.child( format( row.data() ) ).show();
-
- // Add to the 'open' array
- if ( idx === -1 ) {
- detailRows.push( tr.attr('id') );
- }
- }
- } );
-
- // On each draw, loop over the `detailRows` array and show any child rows
- dt.on( 'draw', function () {
- $.each( detailRows, function ( i, id ) {
- $('#'+id+' td:first-child').trigger( 'click' );
- } );
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
td.details-control {
- background: url('../resources/details_open.png') no-repeat center center;
- cursor: pointer;
-}
-tr.details td.details-control {
- background: url('../resources/details_close.png') no-repeat center center;
-}
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ids-arrays.php b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ids-arrays.php
deleted file mode 100644
index f8e69c8ffa..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ids-arrays.php
+++ /dev/null
@@ -1,81 +0,0 @@
- 'id',
- 'dt' => 'DT_RowId',
- 'formatter' => function( $d, $row ) {
- // Technically a DOM id cannot start with an integer, so we prefix
- // a string. This can also be useful if you have multiple tables
- // to ensure that the id is unique with a different prefix
- return 'row_'.$d;
- }
- ),
- array( 'db' => 'first_name', 'dt' => 0 ),
- array( 'db' => 'last_name', 'dt' => 1 ),
- array( 'db' => 'position', 'dt' => 2 ),
- array( 'db' => 'office', 'dt' => 3 ),
- array(
- 'db' => 'start_date',
- 'dt' => 4,
- 'formatter' => function( $d, $row ) {
- return date( 'jS M y', strtotime($d));
- }
- ),
- array(
- 'db' => 'salary',
- 'dt' => 5,
- 'formatter' => function( $d, $row ) {
- return '$'.number_format($d);
- }
- )
-);
-
-// SQL server connection information
-$sql_details = array(
- 'user' => '',
- 'pass' => '',
- 'db' => '',
- 'host' => ''
-);
-
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- * If you just want to use the basic configuration for DataTables with PHP
- * server-side, there is no need to edit below this line.
- */
-
-require( 'ssp.class.php' );
-
-echo json_encode(
- SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns )
-);
-
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ids-objects.php b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ids-objects.php
deleted file mode 100644
index c3d339f1be..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ids-objects.php
+++ /dev/null
@@ -1,80 +0,0 @@
- 'id',
- 'dt' => 'DT_RowId',
- 'formatter' => function( $d, $row ) {
- // Technically a DOM id cannot start with an integer, so we prefix
- // a string. This can also be useful if you have multiple tables
- // to ensure that the id is unique with a different prefix
- return 'row_'.$d;
- }
- ),
- array( 'db' => 'first_name', 'dt' => 'first_name' ),
- array( 'db' => 'last_name', 'dt' => 'last_name' ),
- array( 'db' => 'position', 'dt' => 'position' ),
- array( 'db' => 'office', 'dt' => 'office' ),
- array(
- 'db' => 'start_date',
- 'dt' => 'start_date',
- 'formatter' => function( $d, $row ) {
- return date( 'jS M y', strtotime($d));
- }
- ),
- array(
- 'db' => 'salary',
- 'dt' => 'salary',
- 'formatter' => function( $d, $row ) {
- return '$'.number_format($d);
- }
- )
-);
-
-$sql_details = array(
- 'user' => '',
- 'pass' => '',
- 'db' => '',
- 'host' => ''
-);
-
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- * If you just want to use the basic configuration for DataTables with PHP
- * server-side, there is no need to edit below this line.
- */
-
-require( 'ssp.class.php' );
-
-echo json_encode(
- SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns )
-);
-
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/jsonp.php b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/jsonp.php
deleted file mode 100644
index ee6c36c41c..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/jsonp.php
+++ /dev/null
@@ -1,69 +0,0 @@
- 'first_name', 'dt' => 0 ),
- array( 'db' => 'last_name', 'dt' => 1 ),
- array( 'db' => 'position', 'dt' => 2 ),
- array( 'db' => 'office', 'dt' => 3 ),
- array(
- 'db' => 'start_date',
- 'dt' => 4,
- 'formatter' => function( $d, $row ) {
- return date( 'jS M y', strtotime($d));
- }
- ),
- array(
- 'db' => 'salary',
- 'dt' => 5,
- 'formatter' => function( $d, $row ) {
- return '$'.number_format($d);
- }
- )
-);
-
-$sql_details = array(
- 'user' => '',
- 'pass' => '',
- 'db' => '',
- 'host' => ''
-);
-
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- * If you just want to use the basic configuration for DataTables with PHP
- * server-side, there is no need to edit below this line.
- */
-require( 'ssp.class.php' );
-
-echo $_GET['callback'].'('.json_encode(
- SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns )
-).');';
-
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/mysql.sql b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/mysql.sql
deleted file mode 100644
index b0fa6267a5..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/mysql.sql
+++ /dev/null
@@ -1,80 +0,0 @@
---
--- DataTables Ajax and server-side processing database (MySQL)
---
-
-DROP TABLE IF EXISTS `datatables_demo`;
-
-CREATE TABLE `datatables_demo` (
- `id` int(10) NOT NULL auto_increment,
- `first_name` varchar(250) NOT NULL default '',
- `last_name` varchar(250) NOT NULL default '',
- `position` varchar(250) NOT NULL default '',
- `email` varchar(250) NOT NULL default '',
- `office` varchar(250) NOT NULL default '',
- `start_date` timestamp DEFAULT CURRENT_TIMESTAMP,
- `age` int(8),
- `salary` int(8),
- `extn` int(8),
- PRIMARY KEY (`id`)
-);
-
-INSERT INTO `datatables_demo`
- ( id, first_name, last_name, age, position, salary, start_date, extn, email, office )
- VALUES
- ( 1, 'Tiger', 'Nixon', 61, 'System Architect', 320800, '2011/04/25', 5421, 't.nixon@datatables.net', 'Edinburgh' ),
- ( 2, 'Garrett', 'Winters', 63, 'Accountant', 170750, '2011/07/25', 8422, 'g.winters@datatables.net', 'Tokyo' ),
- ( 3, 'Ashton', 'Cox', 66, 'Junior Technical Author', 86000, '2009/01/12', 1562, 'a.cox@datatables.net', 'San Francisco' ),
- ( 4, 'Cedric', 'Kelly', 22, 'Senior Javascript Developer', 433060, '2012/03/29', 6224, 'c.kelly@datatables.net', 'Edinburgh' ),
- ( 5, 'Airi', 'Satou', 33, 'Accountant', 162700, '2008/11/28', 5407, 'a.satou@datatables.net', 'Tokyo' ),
- ( 6, 'Brielle', 'Williamson', 61, 'Integration Specialist', 372000, '2012/12/02', 4804, 'b.williamson@datatables.net', 'New York' ),
- ( 7, 'Herrod', 'Chandler', 59, 'Sales Assistant', 137500, '2012/08/06', 9608, 'h.chandler@datatables.net', 'San Francisco' ),
- ( 8, 'Rhona', 'Davidson', 55, 'Integration Specialist', 327900, '2010/10/14', 6200, 'r.davidson@datatables.net', 'Tokyo' ),
- ( 9, 'Colleen', 'Hurst', 39, 'Javascript Developer', 205500, '2009/09/15', 2360, 'c.hurst@datatables.net', 'San Francisco' ),
- ( 10, 'Sonya', 'Frost', 23, 'Software Engineer', 103600, '2008/12/13', 1667, 's.frost@datatables.net', 'Edinburgh' ),
- ( 11, 'Jena', 'Gaines', 30, 'Office Manager', 90560, '2008/12/19', 3814, 'j.gaines@datatables.net', 'London' ),
- ( 12, 'Quinn', 'Flynn', 22, 'Support Lead', 342000, '2013/03/03', 9497, 'q.flynn@datatables.net', 'Edinburgh' ),
- ( 13, 'Charde', 'Marshall', 36, 'Regional Director', 470600, '2008/10/16', 6741, 'c.marshall@datatables.net', 'San Francisco' ),
- ( 14, 'Haley', 'Kennedy', 43, 'Senior Marketing Designer', 313500, '2012/12/18', 3597, 'h.kennedy@datatables.net', 'London' ),
- ( 15, 'Tatyana', 'Fitzpatrick', 19, 'Regional Director', 385750, '2010/03/17', 1965, 't.fitzpatrick@datatables.net', 'London' ),
- ( 16, 'Michael', 'Silva', 66, 'Marketing Designer', 198500, '2012/11/27', 1581, 'm.silva@datatables.net', 'London' ),
- ( 17, 'Paul', 'Byrd', 64, 'Chief Financial Officer (CFO)', 725000, '2010/06/09', 3059, 'p.byrd@datatables.net', 'New York' ),
- ( 18, 'Gloria', 'Little', 59, 'Systems Administrator', 237500, '2009/04/10', 1721, 'g.little@datatables.net', 'New York' ),
- ( 19, 'Bradley', 'Greer', 41, 'Software Engineer', 132000, '2012/10/13', 2558, 'b.greer@datatables.net', 'London' ),
- ( 20, 'Dai', 'Rios', 35, 'Personnel Lead', 217500, '2012/09/26', 2290, 'd.rios@datatables.net', 'Edinburgh' ),
- ( 21, 'Jenette', 'Caldwell', 30, 'Development Lead', 345000, '2011/09/03', 1937, 'j.caldwell@datatables.net', 'New York' ),
- ( 22, 'Yuri', 'Berry', 40, 'Chief Marketing Officer (CMO)', 675000, '2009/06/25', 6154, 'y.berry@datatables.net', 'New York' ),
- ( 23, 'Caesar', 'Vance', 21, 'Pre-Sales Support', 106450, '2011/12/12', 8330, 'c.vance@datatables.net', 'New York' ),
- ( 24, 'Doris', 'Wilder', 23, 'Sales Assistant', 85600, '2010/09/20', 3023, 'd.wilder@datatables.net', 'Sidney' ),
- ( 25, 'Angelica', 'Ramos', 47, 'Chief Executive Officer (CEO)', 1200000, '2009/10/09', 5797, 'a.ramos@datatables.net', 'London' ),
- ( 26, 'Gavin', 'Joyce', 42, 'Developer', 92575, '2010/12/22', 8822, 'g.joyce@datatables.net', 'Edinburgh' ),
- ( 27, 'Jennifer', 'Chang', 28, 'Regional Director', 357650, '2010/11/14', 9239, 'j.chang@datatables.net', 'Singapore' ),
- ( 28, 'Brenden', 'Wagner', 28, 'Software Engineer', 206850, '2011/06/07', 1314, 'b.wagner@datatables.net', 'San Francisco' ),
- ( 29, 'Fiona', 'Green', 48, 'Chief Operating Officer (COO)', 850000, '2010/03/11', 2947, 'f.green@datatables.net', 'San Francisco' ),
- ( 30, 'Shou', 'Itou', 20, 'Regional Marketing', 163000, '2011/08/14', 8899, 's.itou@datatables.net', 'Tokyo' ),
- ( 31, 'Michelle', 'House', 37, 'Integration Specialist', 95400, '2011/06/02', 2769, 'm.house@datatables.net', 'Sidney' ),
- ( 32, 'Suki', 'Burks', 53, 'Developer', 114500, '2009/10/22', 6832, 's.burks@datatables.net', 'London' ),
- ( 33, 'Prescott', 'Bartlett', 27, 'Technical Author', 145000, '2011/05/07', 3606, 'p.bartlett@datatables.net', 'London' ),
- ( 34, 'Gavin', 'Cortez', 22, 'Team Leader', 235500, '2008/10/26', 2860, 'g.cortez@datatables.net', 'San Francisco' ),
- ( 35, 'Martena', 'Mccray', 46, 'Post-Sales support', 324050, '2011/03/09', 8240, 'm.mccray@datatables.net', 'Edinburgh' ),
- ( 36, 'Unity', 'Butler', 47, 'Marketing Designer', 85675, '2009/12/09', 5384, 'u.butler@datatables.net', 'San Francisco' ),
- ( 37, 'Howard', 'Hatfield', 51, 'Office Manager', 164500, '2008/12/16', 7031, 'h.hatfield@datatables.net', 'San Francisco' ),
- ( 38, 'Hope', 'Fuentes', 41, 'Secretary', 109850, '2010/02/12', 6318, 'h.fuentes@datatables.net', 'San Francisco' ),
- ( 39, 'Vivian', 'Harrell', 62, 'Financial Controller', 452500, '2009/02/14', 9422, 'v.harrell@datatables.net', 'San Francisco' ),
- ( 40, 'Timothy', 'Mooney', 37, 'Office Manager', 136200, '2008/12/11', 7580, 't.mooney@datatables.net', 'London' ),
- ( 41, 'Jackson', 'Bradshaw', 65, 'Director', 645750, '2008/09/26', 1042, 'j.bradshaw@datatables.net', 'New York' ),
- ( 42, 'Olivia', 'Liang', 64, 'Support Engineer', 234500, '2011/02/03', 2120, 'o.liang@datatables.net', 'Singapore' ),
- ( 43, 'Bruno', 'Nash', 38, 'Software Engineer', 163500, '2011/05/03', 6222, 'b.nash@datatables.net', 'London' ),
- ( 44, 'Sakura', 'Yamamoto', 37, 'Support Engineer', 139575, '2009/08/19', 9383, 's.yamamoto@datatables.net', 'Tokyo' ),
- ( 45, 'Thor', 'Walton', 61, 'Developer', 98540, '2013/08/11', 8327, 't.walton@datatables.net', 'New York' ),
- ( 46, 'Finn', 'Camacho', 47, 'Support Engineer', 87500, '2009/07/07', 2927, 'f.camacho@datatables.net', 'San Francisco' ),
- ( 47, 'Serge', 'Baldwin', 64, 'Data Coordinator', 138575, '2012/04/09', 8352, 's.baldwin@datatables.net', 'Singapore' ),
- ( 48, 'Zenaida', 'Frank', 63, 'Software Engineer', 125250, '2010/01/04', 7439, 'z.frank@datatables.net', 'New York' ),
- ( 49, 'Zorita', 'Serrano', 56, 'Software Engineer', 115000, '2012/06/01', 4389, 'z.serrano@datatables.net', 'San Francisco' ),
- ( 50, 'Jennifer', 'Acosta', 43, 'Junior Javascript Developer', 75650, '2013/02/01', 3431, 'j.acosta@datatables.net', 'Edinburgh' ),
- ( 51, 'Cara', 'Stevens', 46, 'Sales Assistant', 145600, '2011/12/06', 3990, 'c.stevens@datatables.net', 'New York' ),
- ( 52, 'Hermione', 'Butler', 47, 'Regional Director', 356250, '2011/03/21', 1016, 'h.butler@datatables.net', 'London' ),
- ( 53, 'Lael', 'Greer', 21, 'Systems Administrator', 103500, '2009/02/27', 6733, 'l.greer@datatables.net', 'London' ),
- ( 54, 'Jonas', 'Alexander', 30, 'Developer', 86500, '2010/07/14', 8196, 'j.alexander@datatables.net', 'San Francisco' ),
- ( 55, 'Shad', 'Decker', 51, 'Regional Director', 183000, '2008/11/13', 6373, 's.decker@datatables.net', 'Edinburgh' ),
- ( 56, 'Michael', 'Bruce', 29, 'Javascript Developer', 183000, '2011/06/27', 5384, 'm.bruce@datatables.net', 'Singapore' ),
- ( 57, 'Donna', 'Snider', 27, 'Customer Support', 112000, '2011/01/25', 4226, 'd.snider@datatables.net', 'New York' );
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/objects.php b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/objects.php
deleted file mode 100644
index a10c866833..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/objects.php
+++ /dev/null
@@ -1,57 +0,0 @@
- 'first_name', 'dt' => 'first_name' ),
- array( 'db' => 'last_name', 'dt' => 'last_name' ),
- array( 'db' => 'position', 'dt' => 'position' ),
- array( 'db' => 'office', 'dt' => 'office' ),
- array(
- 'db' => 'start_date',
- 'dt' => 'start_date',
- 'formatter' => function( $d, $row ) {
- return date( 'jS M y', strtotime($d));
- }
- ),
- array(
- 'db' => 'salary',
- 'dt' => 'salary',
- 'formatter' => function( $d, $row ) {
- return '$'.number_format($d);
- }
- )
-);
-
-// SQL server connection information
-$sql_details = array(
- 'user' => '',
- 'pass' => '',
- 'db' => '',
- 'host' => ''
-);
-
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- * If you just want to use the basic configuration for DataTables with PHP
- * server-side, there is no need to edit below this line.
- */
-
-require( 'ssp.class.php' );
-
-echo json_encode(
- SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns )
-);
-
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/post.php b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/post.php
deleted file mode 100644
index 41901d7d4d..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/post.php
+++ /dev/null
@@ -1,71 +0,0 @@
- 'first_name', 'dt' => 'first_name' ),
- array( 'db' => 'last_name', 'dt' => 'last_name' ),
- array( 'db' => 'position', 'dt' => 'position' ),
- array( 'db' => 'office', 'dt' => 'office' ),
- array(
- 'db' => 'start_date',
- 'dt' => 'start_date',
- 'formatter' => function( $d, $row ) {
- return date( 'jS M y', strtotime($d));
- }
- ),
- array(
- 'db' => 'salary',
- 'dt' => 'salary',
- 'formatter' => function( $d, $row ) {
- return '$'.number_format($d);
- }
- )
-);
-
-// SQL server connection information
-$sql_details = array(
- 'user' => '',
- 'pass' => '',
- 'db' => '',
- 'host' => ''
-);
-
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- * If you just want to use the basic configuration for DataTables with PHP
- * server-side, there is no need to edit below this line.
- */
-
-require( 'ssp.class.php' );
-
-echo json_encode(
- SSP::simple( $_POST, $sql_details, $table, $primaryKey, $columns )
-);
-
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/postgres.sql b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/postgres.sql
deleted file mode 100644
index e5039ea940..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/postgres.sql
+++ /dev/null
@@ -1,79 +0,0 @@
---
--- DataTables Ajax and server-side processing database (Postgres)
---
-DROP TABLE IF EXISTS datatables_demo;
-
-CREATE TABLE datatables_demo (
- id serial,
- first_name text NOT NULL default '',
- last_name text NOT NULL default '',
- position text NOT NULL default '',
- email text NOT NULL default '',
- office text NOT NULL default '',
- start_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
- age integer,
- salary integer,
- extn integer,
- PRIMARY KEY (id)
-);
-
-INSERT INTO datatables_demo
- ( id, first_name, last_name, age, position, salary, start_date, extn, email, office )
- VALUES
- ( 1, 'Tiger', 'Nixon', 61, 'System Architect', 320800, '2011/04/25', 5421, 't.nixon@datatables.net', 'Edinburgh' ),
- ( 2, 'Garrett', 'Winters', 63, 'Accountant', 170750, '2011/07/25', 8422, 'g.winters@datatables.net', 'Tokyo' ),
- ( 3, 'Ashton', 'Cox', 66, 'Junior Technical Author', 86000, '2009/01/12', 1562, 'a.cox@datatables.net', 'San Francisco' ),
- ( 4, 'Cedric', 'Kelly', 22, 'Senior Javascript Developer', 433060, '2012/03/29', 6224, 'c.kelly@datatables.net', 'Edinburgh' ),
- ( 5, 'Airi', 'Satou', 33, 'Accountant', 162700, '2008/11/28', 5407, 'a.satou@datatables.net', 'Tokyo' ),
- ( 6, 'Brielle', 'Williamson', 61, 'Integration Specialist', 372000, '2012/12/02', 4804, 'b.williamson@datatables.net', 'New York' ),
- ( 7, 'Herrod', 'Chandler', 59, 'Sales Assistant', 137500, '2012/08/06', 9608, 'h.chandler@datatables.net', 'San Francisco' ),
- ( 8, 'Rhona', 'Davidson', 55, 'Integration Specialist', 327900, '2010/10/14', 6200, 'r.davidson@datatables.net', 'Tokyo' ),
- ( 9, 'Colleen', 'Hurst', 39, 'Javascript Developer', 205500, '2009/09/15', 2360, 'c.hurst@datatables.net', 'San Francisco' ),
- ( 10, 'Sonya', 'Frost', 23, 'Software Engineer', 103600, '2008/12/13', 1667, 's.frost@datatables.net', 'Edinburgh' ),
- ( 11, 'Jena', 'Gaines', 30, 'Office Manager', 90560, '2008/12/19', 3814, 'j.gaines@datatables.net', 'London' ),
- ( 12, 'Quinn', 'Flynn', 22, 'Support Lead', 342000, '2013/03/03', 9497, 'q.flynn@datatables.net', 'Edinburgh' ),
- ( 13, 'Charde', 'Marshall', 36, 'Regional Director', 470600, '2008/10/16', 6741, 'c.marshall@datatables.net', 'San Francisco' ),
- ( 14, 'Haley', 'Kennedy', 43, 'Senior Marketing Designer', 313500, '2012/12/18', 3597, 'h.kennedy@datatables.net', 'London' ),
- ( 15, 'Tatyana', 'Fitzpatrick', 19, 'Regional Director', 385750, '2010/03/17', 1965, 't.fitzpatrick@datatables.net', 'London' ),
- ( 16, 'Michael', 'Silva', 66, 'Marketing Designer', 198500, '2012/11/27', 1581, 'm.silva@datatables.net', 'London' ),
- ( 17, 'Paul', 'Byrd', 64, 'Chief Financial Officer (CFO)', 725000, '2010/06/09', 3059, 'p.byrd@datatables.net', 'New York' ),
- ( 18, 'Gloria', 'Little', 59, 'Systems Administrator', 237500, '2009/04/10', 1721, 'g.little@datatables.net', 'New York' ),
- ( 19, 'Bradley', 'Greer', 41, 'Software Engineer', 132000, '2012/10/13', 2558, 'b.greer@datatables.net', 'London' ),
- ( 20, 'Dai', 'Rios', 35, 'Personnel Lead', 217500, '2012/09/26', 2290, 'd.rios@datatables.net', 'Edinburgh' ),
- ( 21, 'Jenette', 'Caldwell', 30, 'Development Lead', 345000, '2011/09/03', 1937, 'j.caldwell@datatables.net', 'New York' ),
- ( 22, 'Yuri', 'Berry', 40, 'Chief Marketing Officer (CMO)', 675000, '2009/06/25', 6154, 'y.berry@datatables.net', 'New York' ),
- ( 23, 'Caesar', 'Vance', 21, 'Pre-Sales Support', 106450, '2011/12/12', 8330, 'c.vance@datatables.net', 'New York' ),
- ( 24, 'Doris', 'Wilder', 23, 'Sales Assistant', 85600, '2010/09/20', 3023, 'd.wilder@datatables.net', 'Sidney' ),
- ( 25, 'Angelica', 'Ramos', 47, 'Chief Executive Officer (CEO)', 1200000, '2009/10/09', 5797, 'a.ramos@datatables.net', 'London' ),
- ( 26, 'Gavin', 'Joyce', 42, 'Developer', 92575, '2010/12/22', 8822, 'g.joyce@datatables.net', 'Edinburgh' ),
- ( 27, 'Jennifer', 'Chang', 28, 'Regional Director', 357650, '2010/11/14', 9239, 'j.chang@datatables.net', 'Singapore' ),
- ( 28, 'Brenden', 'Wagner', 28, 'Software Engineer', 206850, '2011/06/07', 1314, 'b.wagner@datatables.net', 'San Francisco' ),
- ( 29, 'Fiona', 'Green', 48, 'Chief Operating Officer (COO)', 850000, '2010/03/11', 2947, 'f.green@datatables.net', 'San Francisco' ),
- ( 30, 'Shou', 'Itou', 20, 'Regional Marketing', 163000, '2011/08/14', 8899, 's.itou@datatables.net', 'Tokyo' ),
- ( 31, 'Michelle', 'House', 37, 'Integration Specialist', 95400, '2011/06/02', 2769, 'm.house@datatables.net', 'Sidney' ),
- ( 32, 'Suki', 'Burks', 53, 'Developer', 114500, '2009/10/22', 6832, 's.burks@datatables.net', 'London' ),
- ( 33, 'Prescott', 'Bartlett', 27, 'Technical Author', 145000, '2011/05/07', 3606, 'p.bartlett@datatables.net', 'London' ),
- ( 34, 'Gavin', 'Cortez', 22, 'Team Leader', 235500, '2008/10/26', 2860, 'g.cortez@datatables.net', 'San Francisco' ),
- ( 35, 'Martena', 'Mccray', 46, 'Post-Sales support', 324050, '2011/03/09', 8240, 'm.mccray@datatables.net', 'Edinburgh' ),
- ( 36, 'Unity', 'Butler', 47, 'Marketing Designer', 85675, '2009/12/09', 5384, 'u.butler@datatables.net', 'San Francisco' ),
- ( 37, 'Howard', 'Hatfield', 51, 'Office Manager', 164500, '2008/12/16', 7031, 'h.hatfield@datatables.net', 'San Francisco' ),
- ( 38, 'Hope', 'Fuentes', 41, 'Secretary', 109850, '2010/02/12', 6318, 'h.fuentes@datatables.net', 'San Francisco' ),
- ( 39, 'Vivian', 'Harrell', 62, 'Financial Controller', 452500, '2009/02/14', 9422, 'v.harrell@datatables.net', 'San Francisco' ),
- ( 40, 'Timothy', 'Mooney', 37, 'Office Manager', 136200, '2008/12/11', 7580, 't.mooney@datatables.net', 'London' ),
- ( 41, 'Jackson', 'Bradshaw', 65, 'Director', 645750, '2008/09/26', 1042, 'j.bradshaw@datatables.net', 'New York' ),
- ( 42, 'Olivia', 'Liang', 64, 'Support Engineer', 234500, '2011/02/03', 2120, 'o.liang@datatables.net', 'Singapore' ),
- ( 43, 'Bruno', 'Nash', 38, 'Software Engineer', 163500, '2011/05/03', 6222, 'b.nash@datatables.net', 'London' ),
- ( 44, 'Sakura', 'Yamamoto', 37, 'Support Engineer', 139575, '2009/08/19', 9383, 's.yamamoto@datatables.net', 'Tokyo' ),
- ( 45, 'Thor', 'Walton', 61, 'Developer', 98540, '2013/08/11', 8327, 't.walton@datatables.net', 'New York' ),
- ( 46, 'Finn', 'Camacho', 47, 'Support Engineer', 87500, '2009/07/07', 2927, 'f.camacho@datatables.net', 'San Francisco' ),
- ( 47, 'Serge', 'Baldwin', 64, 'Data Coordinator', 138575, '2012/04/09', 8352, 's.baldwin@datatables.net', 'Singapore' ),
- ( 48, 'Zenaida', 'Frank', 63, 'Software Engineer', 125250, '2010/01/04', 7439, 'z.frank@datatables.net', 'New York' ),
- ( 49, 'Zorita', 'Serrano', 56, 'Software Engineer', 115000, '2012/06/01', 4389, 'z.serrano@datatables.net', 'San Francisco' ),
- ( 50, 'Jennifer', 'Acosta', 43, 'Junior Javascript Developer', 75650, '2013/02/01', 3431, 'j.acosta@datatables.net', 'Edinburgh' ),
- ( 51, 'Cara', 'Stevens', 46, 'Sales Assistant', 145600, '2011/12/06', 3990, 'c.stevens@datatables.net', 'New York' ),
- ( 52, 'Hermione', 'Butler', 47, 'Regional Director', 356250, '2011/03/21', 1016, 'h.butler@datatables.net', 'London' ),
- ( 53, 'Lael', 'Greer', 21, 'Systems Administrator', 103500, '2009/02/27', 6733, 'l.greer@datatables.net', 'London' ),
- ( 54, 'Jonas', 'Alexander', 30, 'Developer', 86500, '2010/07/14', 8196, 'j.alexander@datatables.net', 'San Francisco' ),
- ( 55, 'Shad', 'Decker', 51, 'Regional Director', 183000, '2008/11/13', 6373, 's.decker@datatables.net', 'Edinburgh' ),
- ( 56, 'Michael', 'Bruce', 29, 'Javascript Developer', 183000, '2011/06/27', 5384, 'm.bruce@datatables.net', 'Singapore' ),
- ( 57, 'Donna', 'Snider', 27, 'Customer Support', 112000, '2011/01/25', 4226, 'd.snider@datatables.net', 'New York' );
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/server_processing.php b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/server_processing.php
deleted file mode 100644
index 7717d6efb9..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/server_processing.php
+++ /dev/null
@@ -1,72 +0,0 @@
- 'first_name', 'dt' => 0 ),
- array( 'db' => 'last_name', 'dt' => 1 ),
- array( 'db' => 'position', 'dt' => 2 ),
- array( 'db' => 'office', 'dt' => 3 ),
- array(
- 'db' => 'start_date',
- 'dt' => 4,
- 'formatter' => function( $d, $row ) {
- return date( 'jS M y', strtotime($d));
- }
- ),
- array(
- 'db' => 'salary',
- 'dt' => 5,
- 'formatter' => function( $d, $row ) {
- return '$'.number_format($d);
- }
- )
-);
-
-// SQL server connection information
-$sql_details = array(
- 'user' => '',
- 'pass' => '',
- 'db' => '',
- 'host' => ''
-);
-
-
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- * If you just want to use the basic configuration for DataTables with PHP
- * server-side, there is no need to edit below this line.
- */
-
-require( 'ssp.class.php' );
-
-echo json_encode(
- SSP::simple( $_GET, $sql_details, $table, $primaryKey, $columns )
-);
-
-
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/sqlite.sql b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/sqlite.sql
deleted file mode 100644
index d5620e7d18..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/sqlite.sql
+++ /dev/null
@@ -1,78 +0,0 @@
---
--- DataTables Ajax and server-side processing database (SQLite)
---
-DROP TABLE IF EXISTS datatables_demo;
-
-CREATE TABLE datatables_demo (
- id integer primary key,
- first_name text NOT NULL default '',
- last_name text NOT NULL default '',
- position text NOT NULL default '',
- email text NOT NULL default '',
- office text NOT NULL default '',
- start_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
- age integer,
- salary integer,
- extn integer
-);
-
-INSERT INTO datatables_demo
- ( id, first_name, last_name, age, position, salary, start_date, extn, email, office )
- VALUES
- ( 1, 'Tiger', 'Nixon', 61, 'System Architect', 320800, '2011/04/25', 5421, 't.nixon@datatables.net', 'Edinburgh' ),
- ( 2, 'Garrett', 'Winters', 63, 'Accountant', 170750, '2011/07/25', 8422, 'g.winters@datatables.net', 'Tokyo' ),
- ( 3, 'Ashton', 'Cox', 66, 'Junior Technical Author', 86000, '2009/01/12', 1562, 'a.cox@datatables.net', 'San Francisco' ),
- ( 4, 'Cedric', 'Kelly', 22, 'Senior Javascript Developer', 433060, '2012/03/29', 6224, 'c.kelly@datatables.net', 'Edinburgh' ),
- ( 5, 'Airi', 'Satou', 33, 'Accountant', 162700, '2008/11/28', 5407, 'a.satou@datatables.net', 'Tokyo' ),
- ( 6, 'Brielle', 'Williamson', 61, 'Integration Specialist', 372000, '2012/12/02', 4804, 'b.williamson@datatables.net', 'New York' ),
- ( 7, 'Herrod', 'Chandler', 59, 'Sales Assistant', 137500, '2012/08/06', 9608, 'h.chandler@datatables.net', 'San Francisco' ),
- ( 8, 'Rhona', 'Davidson', 55, 'Integration Specialist', 327900, '2010/10/14', 6200, 'r.davidson@datatables.net', 'Tokyo' ),
- ( 9, 'Colleen', 'Hurst', 39, 'Javascript Developer', 205500, '2009/09/15', 2360, 'c.hurst@datatables.net', 'San Francisco' ),
- ( 10, 'Sonya', 'Frost', 23, 'Software Engineer', 103600, '2008/12/13', 1667, 's.frost@datatables.net', 'Edinburgh' ),
- ( 11, 'Jena', 'Gaines', 30, 'Office Manager', 90560, '2008/12/19', 3814, 'j.gaines@datatables.net', 'London' ),
- ( 12, 'Quinn', 'Flynn', 22, 'Support Lead', 342000, '2013/03/03', 9497, 'q.flynn@datatables.net', 'Edinburgh' ),
- ( 13, 'Charde', 'Marshall', 36, 'Regional Director', 470600, '2008/10/16', 6741, 'c.marshall@datatables.net', 'San Francisco' ),
- ( 14, 'Haley', 'Kennedy', 43, 'Senior Marketing Designer', 313500, '2012/12/18', 3597, 'h.kennedy@datatables.net', 'London' ),
- ( 15, 'Tatyana', 'Fitzpatrick', 19, 'Regional Director', 385750, '2010/03/17', 1965, 't.fitzpatrick@datatables.net', 'London' ),
- ( 16, 'Michael', 'Silva', 66, 'Marketing Designer', 198500, '2012/11/27', 1581, 'm.silva@datatables.net', 'London' ),
- ( 17, 'Paul', 'Byrd', 64, 'Chief Financial Officer (CFO)', 725000, '2010/06/09', 3059, 'p.byrd@datatables.net', 'New York' ),
- ( 18, 'Gloria', 'Little', 59, 'Systems Administrator', 237500, '2009/04/10', 1721, 'g.little@datatables.net', 'New York' ),
- ( 19, 'Bradley', 'Greer', 41, 'Software Engineer', 132000, '2012/10/13', 2558, 'b.greer@datatables.net', 'London' ),
- ( 20, 'Dai', 'Rios', 35, 'Personnel Lead', 217500, '2012/09/26', 2290, 'd.rios@datatables.net', 'Edinburgh' ),
- ( 21, 'Jenette', 'Caldwell', 30, 'Development Lead', 345000, '2011/09/03', 1937, 'j.caldwell@datatables.net', 'New York' ),
- ( 22, 'Yuri', 'Berry', 40, 'Chief Marketing Officer (CMO)', 675000, '2009/06/25', 6154, 'y.berry@datatables.net', 'New York' ),
- ( 23, 'Caesar', 'Vance', 21, 'Pre-Sales Support', 106450, '2011/12/12', 8330, 'c.vance@datatables.net', 'New York' ),
- ( 24, 'Doris', 'Wilder', 23, 'Sales Assistant', 85600, '2010/09/20', 3023, 'd.wilder@datatables.net', 'Sidney' ),
- ( 25, 'Angelica', 'Ramos', 47, 'Chief Executive Officer (CEO)', 1200000, '2009/10/09', 5797, 'a.ramos@datatables.net', 'London' ),
- ( 26, 'Gavin', 'Joyce', 42, 'Developer', 92575, '2010/12/22', 8822, 'g.joyce@datatables.net', 'Edinburgh' ),
- ( 27, 'Jennifer', 'Chang', 28, 'Regional Director', 357650, '2010/11/14', 9239, 'j.chang@datatables.net', 'Singapore' ),
- ( 28, 'Brenden', 'Wagner', 28, 'Software Engineer', 206850, '2011/06/07', 1314, 'b.wagner@datatables.net', 'San Francisco' ),
- ( 29, 'Fiona', 'Green', 48, 'Chief Operating Officer (COO)', 850000, '2010/03/11', 2947, 'f.green@datatables.net', 'San Francisco' ),
- ( 30, 'Shou', 'Itou', 20, 'Regional Marketing', 163000, '2011/08/14', 8899, 's.itou@datatables.net', 'Tokyo' ),
- ( 31, 'Michelle', 'House', 37, 'Integration Specialist', 95400, '2011/06/02', 2769, 'm.house@datatables.net', 'Sidney' ),
- ( 32, 'Suki', 'Burks', 53, 'Developer', 114500, '2009/10/22', 6832, 's.burks@datatables.net', 'London' ),
- ( 33, 'Prescott', 'Bartlett', 27, 'Technical Author', 145000, '2011/05/07', 3606, 'p.bartlett@datatables.net', 'London' ),
- ( 34, 'Gavin', 'Cortez', 22, 'Team Leader', 235500, '2008/10/26', 2860, 'g.cortez@datatables.net', 'San Francisco' ),
- ( 35, 'Martena', 'Mccray', 46, 'Post-Sales support', 324050, '2011/03/09', 8240, 'm.mccray@datatables.net', 'Edinburgh' ),
- ( 36, 'Unity', 'Butler', 47, 'Marketing Designer', 85675, '2009/12/09', 5384, 'u.butler@datatables.net', 'San Francisco' ),
- ( 37, 'Howard', 'Hatfield', 51, 'Office Manager', 164500, '2008/12/16', 7031, 'h.hatfield@datatables.net', 'San Francisco' ),
- ( 38, 'Hope', 'Fuentes', 41, 'Secretary', 109850, '2010/02/12', 6318, 'h.fuentes@datatables.net', 'San Francisco' ),
- ( 39, 'Vivian', 'Harrell', 62, 'Financial Controller', 452500, '2009/02/14', 9422, 'v.harrell@datatables.net', 'San Francisco' ),
- ( 40, 'Timothy', 'Mooney', 37, 'Office Manager', 136200, '2008/12/11', 7580, 't.mooney@datatables.net', 'London' ),
- ( 41, 'Jackson', 'Bradshaw', 65, 'Director', 645750, '2008/09/26', 1042, 'j.bradshaw@datatables.net', 'New York' ),
- ( 42, 'Olivia', 'Liang', 64, 'Support Engineer', 234500, '2011/02/03', 2120, 'o.liang@datatables.net', 'Singapore' ),
- ( 43, 'Bruno', 'Nash', 38, 'Software Engineer', 163500, '2011/05/03', 6222, 'b.nash@datatables.net', 'London' ),
- ( 44, 'Sakura', 'Yamamoto', 37, 'Support Engineer', 139575, '2009/08/19', 9383, 's.yamamoto@datatables.net', 'Tokyo' ),
- ( 45, 'Thor', 'Walton', 61, 'Developer', 98540, '2013/08/11', 8327, 't.walton@datatables.net', 'New York' ),
- ( 46, 'Finn', 'Camacho', 47, 'Support Engineer', 87500, '2009/07/07', 2927, 'f.camacho@datatables.net', 'San Francisco' ),
- ( 47, 'Serge', 'Baldwin', 64, 'Data Coordinator', 138575, '2012/04/09', 8352, 's.baldwin@datatables.net', 'Singapore' ),
- ( 48, 'Zenaida', 'Frank', 63, 'Software Engineer', 125250, '2010/01/04', 7439, 'z.frank@datatables.net', 'New York' ),
- ( 49, 'Zorita', 'Serrano', 56, 'Software Engineer', 115000, '2012/06/01', 4389, 'z.serrano@datatables.net', 'San Francisco' ),
- ( 50, 'Jennifer', 'Acosta', 43, 'Junior Javascript Developer', 75650, '2013/02/01', 3431, 'j.acosta@datatables.net', 'Edinburgh' ),
- ( 51, 'Cara', 'Stevens', 46, 'Sales Assistant', 145600, '2011/12/06', 3990, 'c.stevens@datatables.net', 'New York' ),
- ( 52, 'Hermione', 'Butler', 47, 'Regional Director', 356250, '2011/03/21', 1016, 'h.butler@datatables.net', 'London' ),
- ( 53, 'Lael', 'Greer', 21, 'Systems Administrator', 103500, '2009/02/27', 6733, 'l.greer@datatables.net', 'London' ),
- ( 54, 'Jonas', 'Alexander', 30, 'Developer', 86500, '2010/07/14', 8196, 'j.alexander@datatables.net', 'San Francisco' ),
- ( 55, 'Shad', 'Decker', 51, 'Regional Director', 183000, '2008/11/13', 6373, 's.decker@datatables.net', 'Edinburgh' ),
- ( 56, 'Michael', 'Bruce', 29, 'Javascript Developer', 183000, '2011/06/27', 5384, 'm.bruce@datatables.net', 'Singapore' ),
- ( 57, 'Donna', 'Snider', 27, 'Customer Support', 112000, '2011/01/25', 4226, 'd.snider@datatables.net', 'New York' );
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/sqlserver.sql b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/sqlserver.sql
deleted file mode 100644
index 0abd4f3438..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/sqlserver.sql
+++ /dev/null
@@ -1,80 +0,0 @@
---
--- DataTables Ajax and server-side processing database (SQL Server)
---
-IF OBJECT_ID('dbo.datatables_demo', 'U') IS NOT NULL
- DROP TABLE dbo.datatables_demo;
-
-CREATE TABLE datatables_demo (
- id int NOT NULL identity,
- first_name varchar(250) NOT NULL default '',
- last_name varchar(250) NOT NULL default '',
- position varchar(250) NOT NULL default '',
- email varchar(250) NOT NULL default '',
- office varchar(250) NOT NULL default '',
- start_date datetime DEFAULT GETDATE(),
- age int,
- salary int,
- extn int,
- PRIMARY KEY (id)
-);
-
-INSERT INTO datatables_demo
- ( id, first_name, last_name, age, position, salary, start_date, extn, email, office )
- VALUES
- ( 1, 'Tiger', 'Nixon', 61, 'System Architect', 320800, '2011/04/25', 5421, 't.nixon@datatables.net', 'Edinburgh' ),
- ( 2, 'Garrett', 'Winters', 63, 'Accountant', 170750, '2011/07/25', 8422, 'g.winters@datatables.net', 'Tokyo' ),
- ( 3, 'Ashton', 'Cox', 66, 'Junior Technical Author', 86000, '2009/01/12', 1562, 'a.cox@datatables.net', 'San Francisco' ),
- ( 4, 'Cedric', 'Kelly', 22, 'Senior Javascript Developer', 433060, '2012/03/29', 6224, 'c.kelly@datatables.net', 'Edinburgh' ),
- ( 5, 'Airi', 'Satou', 33, 'Accountant', 162700, '2008/11/28', 5407, 'a.satou@datatables.net', 'Tokyo' ),
- ( 6, 'Brielle', 'Williamson', 61, 'Integration Specialist', 372000, '2012/12/02', 4804, 'b.williamson@datatables.net', 'New York' ),
- ( 7, 'Herrod', 'Chandler', 59, 'Sales Assistant', 137500, '2012/08/06', 9608, 'h.chandler@datatables.net', 'San Francisco' ),
- ( 8, 'Rhona', 'Davidson', 55, 'Integration Specialist', 327900, '2010/10/14', 6200, 'r.davidson@datatables.net', 'Tokyo' ),
- ( 9, 'Colleen', 'Hurst', 39, 'Javascript Developer', 205500, '2009/09/15', 2360, 'c.hurst@datatables.net', 'San Francisco' ),
- ( 10, 'Sonya', 'Frost', 23, 'Software Engineer', 103600, '2008/12/13', 1667, 's.frost@datatables.net', 'Edinburgh' ),
- ( 11, 'Jena', 'Gaines', 30, 'Office Manager', 90560, '2008/12/19', 3814, 'j.gaines@datatables.net', 'London' ),
- ( 12, 'Quinn', 'Flynn', 22, 'Support Lead', 342000, '2013/03/03', 9497, 'q.flynn@datatables.net', 'Edinburgh' ),
- ( 13, 'Charde', 'Marshall', 36, 'Regional Director', 470600, '2008/10/16', 6741, 'c.marshall@datatables.net', 'San Francisco' ),
- ( 14, 'Haley', 'Kennedy', 43, 'Senior Marketing Designer', 313500, '2012/12/18', 3597, 'h.kennedy@datatables.net', 'London' ),
- ( 15, 'Tatyana', 'Fitzpatrick', 19, 'Regional Director', 385750, '2010/03/17', 1965, 't.fitzpatrick@datatables.net', 'London' ),
- ( 16, 'Michael', 'Silva', 66, 'Marketing Designer', 198500, '2012/11/27', 1581, 'm.silva@datatables.net', 'London' ),
- ( 17, 'Paul', 'Byrd', 64, 'Chief Financial Officer (CFO)', 725000, '2010/06/09', 3059, 'p.byrd@datatables.net', 'New York' ),
- ( 18, 'Gloria', 'Little', 59, 'Systems Administrator', 237500, '2009/04/10', 1721, 'g.little@datatables.net', 'New York' ),
- ( 19, 'Bradley', 'Greer', 41, 'Software Engineer', 132000, '2012/10/13', 2558, 'b.greer@datatables.net', 'London' ),
- ( 20, 'Dai', 'Rios', 35, 'Personnel Lead', 217500, '2012/09/26', 2290, 'd.rios@datatables.net', 'Edinburgh' ),
- ( 21, 'Jenette', 'Caldwell', 30, 'Development Lead', 345000, '2011/09/03', 1937, 'j.caldwell@datatables.net', 'New York' ),
- ( 22, 'Yuri', 'Berry', 40, 'Chief Marketing Officer (CMO)', 675000, '2009/06/25', 6154, 'y.berry@datatables.net', 'New York' ),
- ( 23, 'Caesar', 'Vance', 21, 'Pre-Sales Support', 106450, '2011/12/12', 8330, 'c.vance@datatables.net', 'New York' ),
- ( 24, 'Doris', 'Wilder', 23, 'Sales Assistant', 85600, '2010/09/20', 3023, 'd.wilder@datatables.net', 'Sidney' ),
- ( 25, 'Angelica', 'Ramos', 47, 'Chief Executive Officer (CEO)', 1200000, '2009/10/09', 5797, 'a.ramos@datatables.net', 'London' ),
- ( 26, 'Gavin', 'Joyce', 42, 'Developer', 92575, '2010/12/22', 8822, 'g.joyce@datatables.net', 'Edinburgh' ),
- ( 27, 'Jennifer', 'Chang', 28, 'Regional Director', 357650, '2010/11/14', 9239, 'j.chang@datatables.net', 'Singapore' ),
- ( 28, 'Brenden', 'Wagner', 28, 'Software Engineer', 206850, '2011/06/07', 1314, 'b.wagner@datatables.net', 'San Francisco' ),
- ( 29, 'Fiona', 'Green', 48, 'Chief Operating Officer (COO)', 850000, '2010/03/11', 2947, 'f.green@datatables.net', 'San Francisco' ),
- ( 30, 'Shou', 'Itou', 20, 'Regional Marketing', 163000, '2011/08/14', 8899, 's.itou@datatables.net', 'Tokyo' ),
- ( 31, 'Michelle', 'House', 37, 'Integration Specialist', 95400, '2011/06/02', 2769, 'm.house@datatables.net', 'Sidney' ),
- ( 32, 'Suki', 'Burks', 53, 'Developer', 114500, '2009/10/22', 6832, 's.burks@datatables.net', 'London' ),
- ( 33, 'Prescott', 'Bartlett', 27, 'Technical Author', 145000, '2011/05/07', 3606, 'p.bartlett@datatables.net', 'London' ),
- ( 34, 'Gavin', 'Cortez', 22, 'Team Leader', 235500, '2008/10/26', 2860, 'g.cortez@datatables.net', 'San Francisco' ),
- ( 35, 'Martena', 'Mccray', 46, 'Post-Sales support', 324050, '2011/03/09', 8240, 'm.mccray@datatables.net', 'Edinburgh' ),
- ( 36, 'Unity', 'Butler', 47, 'Marketing Designer', 85675, '2009/12/09', 5384, 'u.butler@datatables.net', 'San Francisco' ),
- ( 37, 'Howard', 'Hatfield', 51, 'Office Manager', 164500, '2008/12/16', 7031, 'h.hatfield@datatables.net', 'San Francisco' ),
- ( 38, 'Hope', 'Fuentes', 41, 'Secretary', 109850, '2010/02/12', 6318, 'h.fuentes@datatables.net', 'San Francisco' ),
- ( 39, 'Vivian', 'Harrell', 62, 'Financial Controller', 452500, '2009/02/14', 9422, 'v.harrell@datatables.net', 'San Francisco' ),
- ( 40, 'Timothy', 'Mooney', 37, 'Office Manager', 136200, '2008/12/11', 7580, 't.mooney@datatables.net', 'London' ),
- ( 41, 'Jackson', 'Bradshaw', 65, 'Director', 645750, '2008/09/26', 1042, 'j.bradshaw@datatables.net', 'New York' ),
- ( 42, 'Olivia', 'Liang', 64, 'Support Engineer', 234500, '2011/02/03', 2120, 'o.liang@datatables.net', 'Singapore' ),
- ( 43, 'Bruno', 'Nash', 38, 'Software Engineer', 163500, '2011/05/03', 6222, 'b.nash@datatables.net', 'London' ),
- ( 44, 'Sakura', 'Yamamoto', 37, 'Support Engineer', 139575, '2009/08/19', 9383, 's.yamamoto@datatables.net', 'Tokyo' ),
- ( 45, 'Thor', 'Walton', 61, 'Developer', 98540, '2013/08/11', 8327, 't.walton@datatables.net', 'New York' ),
- ( 46, 'Finn', 'Camacho', 47, 'Support Engineer', 87500, '2009/07/07', 2927, 'f.camacho@datatables.net', 'San Francisco' ),
- ( 47, 'Serge', 'Baldwin', 64, 'Data Coordinator', 138575, '2012/04/09', 8352, 's.baldwin@datatables.net', 'Singapore' ),
- ( 48, 'Zenaida', 'Frank', 63, 'Software Engineer', 125250, '2010/01/04', 7439, 'z.frank@datatables.net', 'New York' ),
- ( 49, 'Zorita', 'Serrano', 56, 'Software Engineer', 115000, '2012/06/01', 4389, 'z.serrano@datatables.net', 'San Francisco' ),
- ( 50, 'Jennifer', 'Acosta', 43, 'Junior Javascript Developer', 75650, '2013/02/01', 3431, 'j.acosta@datatables.net', 'Edinburgh' ),
- ( 51, 'Cara', 'Stevens', 46, 'Sales Assistant', 145600, '2011/12/06', 3990, 'c.stevens@datatables.net', 'New York' ),
- ( 52, 'Hermione', 'Butler', 47, 'Regional Director', 356250, '2011/03/21', 1016, 'h.butler@datatables.net', 'London' ),
- ( 53, 'Lael', 'Greer', 21, 'Systems Administrator', 103500, '2009/02/27', 6733, 'l.greer@datatables.net', 'London' ),
- ( 54, 'Jonas', 'Alexander', 30, 'Developer', 86500, '2010/07/14', 8196, 'j.alexander@datatables.net', 'San Francisco' ),
- ( 55, 'Shad', 'Decker', 51, 'Regional Director', 183000, '2008/11/13', 6373, 's.decker@datatables.net', 'Edinburgh' ),
- ( 56, 'Michael', 'Bruce', 29, 'Javascript Developer', 183000, '2011/06/27', 5384, 'm.bruce@datatables.net', 'Singapore' ),
- ( 57, 'Donna', 'Snider', 27, 'Customer Support', 112000, '2011/01/25', 4226, 'd.snider@datatables.net', 'New York' );
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ssp.class.php b/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ssp.class.php
deleted file mode 100644
index 3b37189bdd..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/scripts/ssp.class.php
+++ /dev/null
@@ -1,390 +0,0 @@
- intval( $request['draw'] ),
- "recordsTotal" => intval( $recordsTotal ),
- "recordsFiltered" => intval( $recordsFiltered ),
- "data" => self::data_output( $columns, $data )
- );
- }
-
-
- /**
- * Connect to the database
- *
- * @param array $sql_details SQL server connection details array, with the
- * properties:
- * * host - host name
- * * db - database name
- * * user - user name
- * * pass - user password
- * @return resource Database connection handle
- */
- static function sql_connect ( $sql_details )
- {
- try {
- $db = @new PDO(
- "mysql:host={$sql_details['host']};dbname={$sql_details['db']}",
- $sql_details['user'],
- $sql_details['pass'],
- array( PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION )
- );
- }
- catch (PDOException $e) {
- self::fatal(
- "An error occurred while connecting to the database. ".
- "The error reported by the server was: ".$e->getMessage()
- );
- }
-
- return $db;
- }
-
-
- /**
- * Execute an SQL query on the database
- *
- * @param resource $db Database handler
- * @param array $bindings Array of PDO binding values from bind() to be
- * used for safely escaping strings. Note that this can be given as the
- * SQL query string if no bindings are required.
- * @param string $sql SQL query to execute.
- * @return array Result from the query (all rows)
- */
- static function sql_exec ( $db, $bindings, $sql=null )
- {
- // Argument shifting
- if ( $sql === null ) {
- $sql = $bindings;
- }
-
- $stmt = $db->prepare( $sql );
- //echo $sql;
-
- // Bind parameters
- if ( is_array( $bindings ) ) {
- for ( $i=0, $ien=count($bindings) ; $i<$ien ; $i++ ) {
- $binding = $bindings[$i];
- $stmt->bindValue( $binding['key'], $binding['val'], $binding['type'] );
- }
- }
-
- // Execute
- try {
- $stmt->execute();
- }
- catch (PDOException $e) {
- self::fatal( "An SQL error occurred: ".$e->getMessage() );
- }
-
- // Return all
- return $stmt->fetchAll();
- }
-
-
- /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
- * Internal methods
- */
-
- /**
- * Throw a fatal error.
- *
- * This writes out an error message in a JSON string which DataTables will
- * see and show to the user in the browser.
- *
- * @param string $msg Message to send to the client
- */
- static function fatal ( $msg )
- {
- echo json_encode( array(
- "error" => $msg
- ) );
-
- exit(0);
- }
-
- /**
- * Create a PDO binding key which can be used for escaping variables safely
- * when executing a query with sql_exec()
- *
- * @param array &$a Array of bindings
- * @param * $val Value to bind
- * @param int $type PDO field type
- * @return string Bound key to be used in the SQL where this parameter
- * would be used.
- */
- static function bind ( &$a, $val, $type )
- {
- $key = ':binding_'.count( $a );
-
- $a[] = array(
- 'key' => $key,
- 'val' => $val,
- 'type' => $type
- );
-
- return $key;
- }
-
-
- /**
- * Pull a particular property from each assoc. array in a numeric array,
- * returning and array of the property values from each item.
- *
- * @param array $a Array to get data from
- * @param string $prop Property to read
- * @return array Array of property values
- */
- static function pluck ( $a, $prop )
- {
- $out = array();
-
- for ( $i=0, $len=count($a) ; $i<$len ; $i++ ) {
- $out[] = $a[$i][$prop];
- }
-
- return $out;
- }
-}
-
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/select_rows.html b/src/sunstone/public/bower_components/datatables/examples/server_side/select_rows.html
deleted file mode 100644
index e0c82237a3..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/select_rows.html
+++ /dev/null
@@ -1,344 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Row selection
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Row selection
-
-
- When you want to have user selectable rows in DataTables, it is relatively trivial when using DOM
- based data - but when using server-side processing, DataTables doesn't retain DOM row elements over
- pages / filtering etc. As such, you will need to keep a track of which rows a user as selected and mark
- them as selected on each draw.
-
- This is shown in this demo, which uses a unique ID assigned to the TR element (this is done
- automatically through the use of the DT_RowId special property returned as part of the
- object given by the server for each row) to track which rows are selected and reselect them is
- appropriate on a draw.
-
-
-
-
-
- Name
- Position
- Office
- Extn.
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Extn.
- Start date
- Salary
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- var selected = [];
-
- $("#example").dataTable({
- "processing": true,
- "serverSide": true,
- "ajax": "scripts/ids-arrays.php",
- "rowCallback": function( row, data, displayIndex ) {
- if ( $.inArray(data.DT_RowId, selected) !== -1 ) {
- $(row).addClass('selected');
- }
- }
- });
-
- $('#example tbody').on('click', 'tr', function () {
- var id = this.id;
- var index = $.inArray(id, selected);
-
- if ( index === -1 ) {
- selected.push( id );
- } else {
- selected.splice( index, 1 );
- }
-
- $(this).toggleClass('selected');
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/server_side/simple.html b/src/sunstone/public/bower_components/datatables/examples/server_side/simple.html
deleted file mode 100644
index 8156d40249..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/server_side/simple.html
+++ /dev/null
@@ -1,308 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Server-side processing
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Server-side processing
-
-
- There are many ways to get your data into DataTables, and if you are working with seriously large
- databases, you might want to consider using the server-side options that DataTables provides. With
- server-side processing enabled, all paging, searching, ordering etc actions that DataTables performs
- are handed off to a server where an SQL engine (or similar) can perform these actions on the large data
- set (after all, that's what the database engine is designed for!). As such, each draw of the table will
- result in a new Ajax request being made to get the required data.
-
- Server-side processing is enabled by setting the serverSideDT option to true and
- providing an Ajax data source through the ajaxDT option.
-
- This example shows a very simple table, matching the other client-side processing examples, but in
- this instance using server-side processing.
-
-
-
-
-
- First name
- Last name
- Position
- Office
- Start date
- Salary
-
-
-
-
-
- First name
- Last name
- Position
- Office
- Start date
- Salary
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable( {
- "processing": true,
- "serverSide": true,
- "ajax": "scripts/server_processing.php"
- } );
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/bootstrap.html b/src/sunstone/public/bower_components/datatables/examples/styling/bootstrap.html
deleted file mode 100644
index 984f8d00b7..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/styling/bootstrap.html
+++ /dev/null
@@ -1,764 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Bootstrap
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Bootstrap
-
-
- DataTables can integrate seamlessly with Bootstrap using
- Bootstrap's table styling options to present a
- consistent interface with your Bootstrap driven site / app.
-
- DataTables' Bootstrap integration also provides a renderer for the pagination control in DataTables
- to ensure that the pagination of the table is also styled consistently by Bootstrap.
-
- This integration is done simply by including the DataTables Bootstrap files (CSS and JS) which will
- set the defaults needed for DataTables to be initialised as normal, as shown in this examples.
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Tiger Nixon
- System Architect
- Edinburgh
- 61
- 2011/04/25
- $320,800
-
-
- Garrett Winters
- Accountant
- Tokyo
- 63
- 2011/07/25
- $170,750
-
-
- Ashton Cox
- Junior Technical Author
- San Francisco
- 66
- 2009/01/12
- $86,000
-
-
- Cedric Kelly
- Senior Javascript Developer
- Edinburgh
- 22
- 2012/03/29
- $433,060
-
-
- Airi Satou
- Accountant
- Tokyo
- 33
- 2008/11/28
- $162,700
-
-
- Brielle Williamson
- Integration Specialist
- New York
- 61
- 2012/12/02
- $372,000
-
-
- Herrod Chandler
- Sales Assistant
- San Francisco
- 59
- 2012/08/06
- $137,500
-
-
- Rhona Davidson
- Integration Specialist
- Tokyo
- 55
- 2010/10/14
- $327,900
-
-
- Colleen Hurst
- Javascript Developer
- San Francisco
- 39
- 2009/09/15
- $205,500
-
-
- Sonya Frost
- Software Engineer
- Edinburgh
- 23
- 2008/12/13
- $103,600
-
-
- Jena Gaines
- Office Manager
- London
- 30
- 2008/12/19
- $90,560
-
-
- Quinn Flynn
- Support Lead
- Edinburgh
- 22
- 2013/03/03
- $342,000
-
-
- Charde Marshall
- Regional Director
- San Francisco
- 36
- 2008/10/16
- $470,600
-
-
- Haley Kennedy
- Senior Marketing Designer
- London
- 43
- 2012/12/18
- $313,500
-
-
- Tatyana Fitzpatrick
- Regional Director
- London
- 19
- 2010/03/17
- $385,750
-
-
- Michael Silva
- Marketing Designer
- London
- 66
- 2012/11/27
- $198,500
-
-
- Paul Byrd
- Chief Financial Officer (CFO)
- New York
- 64
- 2010/06/09
- $725,000
-
-
- Gloria Little
- Systems Administrator
- New York
- 59
- 2009/04/10
- $237,500
-
-
- Bradley Greer
- Software Engineer
- London
- 41
- 2012/10/13
- $132,000
-
-
- Dai Rios
- Personnel Lead
- Edinburgh
- 35
- 2012/09/26
- $217,500
-
-
- Jenette Caldwell
- Development Lead
- New York
- 30
- 2011/09/03
- $345,000
-
-
- Yuri Berry
- Chief Marketing Officer (CMO)
- New York
- 40
- 2009/06/25
- $675,000
-
-
- Caesar Vance
- Pre-Sales Support
- New York
- 21
- 2011/12/12
- $106,450
-
-
- Doris Wilder
- Sales Assistant
- Sidney
- 23
- 2010/09/20
- $85,600
-
-
- Angelica Ramos
- Chief Executive Officer (CEO)
- London
- 47
- 2009/10/09
- $1,200,000
-
-
- Gavin Joyce
- Developer
- Edinburgh
- 42
- 2010/12/22
- $92,575
-
-
- Jennifer Chang
- Regional Director
- Singapore
- 28
- 2010/11/14
- $357,650
-
-
- Brenden Wagner
- Software Engineer
- San Francisco
- 28
- 2011/06/07
- $206,850
-
-
- Fiona Green
- Chief Operating Officer (COO)
- San Francisco
- 48
- 2010/03/11
- $850,000
-
-
- Shou Itou
- Regional Marketing
- Tokyo
- 20
- 2011/08/14
- $163,000
-
-
- Michelle House
- Integration Specialist
- Sidney
- 37
- 2011/06/02
- $95,400
-
-
- Suki Burks
- Developer
- London
- 53
- 2009/10/22
- $114,500
-
-
- Prescott Bartlett
- Technical Author
- London
- 27
- 2011/05/07
- $145,000
-
-
- Gavin Cortez
- Team Leader
- San Francisco
- 22
- 2008/10/26
- $235,500
-
-
- Martena Mccray
- Post-Sales support
- Edinburgh
- 46
- 2011/03/09
- $324,050
-
-
- Unity Butler
- Marketing Designer
- San Francisco
- 47
- 2009/12/09
- $85,675
-
-
- Howard Hatfield
- Office Manager
- San Francisco
- 51
- 2008/12/16
- $164,500
-
-
- Hope Fuentes
- Secretary
- San Francisco
- 41
- 2010/02/12
- $109,850
-
-
- Vivian Harrell
- Financial Controller
- San Francisco
- 62
- 2009/02/14
- $452,500
-
-
- Timothy Mooney
- Office Manager
- London
- 37
- 2008/12/11
- $136,200
-
-
- Jackson Bradshaw
- Director
- New York
- 65
- 2008/09/26
- $645,750
-
-
- Olivia Liang
- Support Engineer
- Singapore
- 64
- 2011/02/03
- $234,500
-
-
- Bruno Nash
- Software Engineer
- London
- 38
- 2011/05/03
- $163,500
-
-
- Sakura Yamamoto
- Support Engineer
- Tokyo
- 37
- 2009/08/19
- $139,575
-
-
- Thor Walton
- Developer
- New York
- 61
- 2013/08/11
- $98,540
-
-
- Finn Camacho
- Support Engineer
- San Francisco
- 47
- 2009/07/07
- $87,500
-
-
- Serge Baldwin
- Data Coordinator
- Singapore
- 64
- 2012/04/09
- $138,575
-
-
- Zenaida Frank
- Software Engineer
- New York
- 63
- 2010/01/04
- $125,250
-
-
- Zorita Serrano
- Software Engineer
- San Francisco
- 56
- 2012/06/01
- $115,000
-
-
- Jennifer Acosta
- Junior Javascript Developer
- Edinburgh
- 43
- 2013/02/01
- $75,650
-
-
- Cara Stevens
- Sales Assistant
- New York
- 46
- 2011/12/06
- $145,600
-
-
- Hermione Butler
- Regional Director
- London
- 47
- 2011/03/21
- $356,250
-
-
- Lael Greer
- Systems Administrator
- London
- 21
- 2009/02/27
- $103,500
-
-
- Jonas Alexander
- Developer
- San Francisco
- 30
- 2010/07/14
- $86,500
-
-
- Shad Decker
- Regional Director
- Edinburgh
- 51
- 2008/11/13
- $183,000
-
-
- Michael Bruce
- Javascript Developer
- Singapore
- 29
- 2011/06/27
- $183,000
-
-
- Donna Snider
- Customer Support
- New York
- 27
- 2011/01/25
- $112,000
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
body { font-size: 140%; }
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/cell-border.html b/src/sunstone/public/bower_components/datatables/examples/styling/cell-border.html
deleted file mode 100644
index 44ba9ee2bc..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/styling/cell-border.html
+++ /dev/null
@@ -1,747 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Base style - cell borders
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Base style - cell borders
-
-
- This example shows DataTables with just the cell-border class specified, giving a
- strong delineation between individual cells.
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Tiger Nixon
- System Architect
- Edinburgh
- 61
- 2011/04/25
- $320,800
-
-
- Garrett Winters
- Accountant
- Tokyo
- 63
- 2011/07/25
- $170,750
-
-
- Ashton Cox
- Junior Technical Author
- San Francisco
- 66
- 2009/01/12
- $86,000
-
-
- Cedric Kelly
- Senior Javascript Developer
- Edinburgh
- 22
- 2012/03/29
- $433,060
-
-
- Airi Satou
- Accountant
- Tokyo
- 33
- 2008/11/28
- $162,700
-
-
- Brielle Williamson
- Integration Specialist
- New York
- 61
- 2012/12/02
- $372,000
-
-
- Herrod Chandler
- Sales Assistant
- San Francisco
- 59
- 2012/08/06
- $137,500
-
-
- Rhona Davidson
- Integration Specialist
- Tokyo
- 55
- 2010/10/14
- $327,900
-
-
- Colleen Hurst
- Javascript Developer
- San Francisco
- 39
- 2009/09/15
- $205,500
-
-
- Sonya Frost
- Software Engineer
- Edinburgh
- 23
- 2008/12/13
- $103,600
-
-
- Jena Gaines
- Office Manager
- London
- 30
- 2008/12/19
- $90,560
-
-
- Quinn Flynn
- Support Lead
- Edinburgh
- 22
- 2013/03/03
- $342,000
-
-
- Charde Marshall
- Regional Director
- San Francisco
- 36
- 2008/10/16
- $470,600
-
-
- Haley Kennedy
- Senior Marketing Designer
- London
- 43
- 2012/12/18
- $313,500
-
-
- Tatyana Fitzpatrick
- Regional Director
- London
- 19
- 2010/03/17
- $385,750
-
-
- Michael Silva
- Marketing Designer
- London
- 66
- 2012/11/27
- $198,500
-
-
- Paul Byrd
- Chief Financial Officer (CFO)
- New York
- 64
- 2010/06/09
- $725,000
-
-
- Gloria Little
- Systems Administrator
- New York
- 59
- 2009/04/10
- $237,500
-
-
- Bradley Greer
- Software Engineer
- London
- 41
- 2012/10/13
- $132,000
-
-
- Dai Rios
- Personnel Lead
- Edinburgh
- 35
- 2012/09/26
- $217,500
-
-
- Jenette Caldwell
- Development Lead
- New York
- 30
- 2011/09/03
- $345,000
-
-
- Yuri Berry
- Chief Marketing Officer (CMO)
- New York
- 40
- 2009/06/25
- $675,000
-
-
- Caesar Vance
- Pre-Sales Support
- New York
- 21
- 2011/12/12
- $106,450
-
-
- Doris Wilder
- Sales Assistant
- Sidney
- 23
- 2010/09/20
- $85,600
-
-
- Angelica Ramos
- Chief Executive Officer (CEO)
- London
- 47
- 2009/10/09
- $1,200,000
-
-
- Gavin Joyce
- Developer
- Edinburgh
- 42
- 2010/12/22
- $92,575
-
-
- Jennifer Chang
- Regional Director
- Singapore
- 28
- 2010/11/14
- $357,650
-
-
- Brenden Wagner
- Software Engineer
- San Francisco
- 28
- 2011/06/07
- $206,850
-
-
- Fiona Green
- Chief Operating Officer (COO)
- San Francisco
- 48
- 2010/03/11
- $850,000
-
-
- Shou Itou
- Regional Marketing
- Tokyo
- 20
- 2011/08/14
- $163,000
-
-
- Michelle House
- Integration Specialist
- Sidney
- 37
- 2011/06/02
- $95,400
-
-
- Suki Burks
- Developer
- London
- 53
- 2009/10/22
- $114,500
-
-
- Prescott Bartlett
- Technical Author
- London
- 27
- 2011/05/07
- $145,000
-
-
- Gavin Cortez
- Team Leader
- San Francisco
- 22
- 2008/10/26
- $235,500
-
-
- Martena Mccray
- Post-Sales support
- Edinburgh
- 46
- 2011/03/09
- $324,050
-
-
- Unity Butler
- Marketing Designer
- San Francisco
- 47
- 2009/12/09
- $85,675
-
-
- Howard Hatfield
- Office Manager
- San Francisco
- 51
- 2008/12/16
- $164,500
-
-
- Hope Fuentes
- Secretary
- San Francisco
- 41
- 2010/02/12
- $109,850
-
-
- Vivian Harrell
- Financial Controller
- San Francisco
- 62
- 2009/02/14
- $452,500
-
-
- Timothy Mooney
- Office Manager
- London
- 37
- 2008/12/11
- $136,200
-
-
- Jackson Bradshaw
- Director
- New York
- 65
- 2008/09/26
- $645,750
-
-
- Olivia Liang
- Support Engineer
- Singapore
- 64
- 2011/02/03
- $234,500
-
-
- Bruno Nash
- Software Engineer
- London
- 38
- 2011/05/03
- $163,500
-
-
- Sakura Yamamoto
- Support Engineer
- Tokyo
- 37
- 2009/08/19
- $139,575
-
-
- Thor Walton
- Developer
- New York
- 61
- 2013/08/11
- $98,540
-
-
- Finn Camacho
- Support Engineer
- San Francisco
- 47
- 2009/07/07
- $87,500
-
-
- Serge Baldwin
- Data Coordinator
- Singapore
- 64
- 2012/04/09
- $138,575
-
-
- Zenaida Frank
- Software Engineer
- New York
- 63
- 2010/01/04
- $125,250
-
-
- Zorita Serrano
- Software Engineer
- San Francisco
- 56
- 2012/06/01
- $115,000
-
-
- Jennifer Acosta
- Junior Javascript Developer
- Edinburgh
- 43
- 2013/02/01
- $75,650
-
-
- Cara Stevens
- Sales Assistant
- New York
- 46
- 2011/12/06
- $145,600
-
-
- Hermione Butler
- Regional Director
- London
- 47
- 2011/03/21
- $356,250
-
-
- Lael Greer
- Systems Administrator
- London
- 21
- 2009/02/27
- $103,500
-
-
- Jonas Alexander
- Developer
- San Francisco
- 30
- 2010/07/14
- $86,500
-
-
- Shad Decker
- Regional Director
- Edinburgh
- 51
- 2008/11/13
- $183,000
-
-
- Michael Bruce
- Javascript Developer
- Singapore
- 29
- 2011/06/27
- $183,000
-
-
- Donna Snider
- Customer Support
- New York
- 27
- 2011/01/25
- $112,000
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/compact.html b/src/sunstone/public/bower_components/datatables/examples/styling/compact.html
deleted file mode 100644
index bd2529f9f0..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/styling/compact.html
+++ /dev/null
@@ -1,747 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Base style - compact
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Base style - compact
-
-
- The compact class is used to reduce the amount of white-space the default styling for
- the DataTable uses, increasing the information density on screen, as shown below.
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Tiger Nixon
- System Architect
- Edinburgh
- 61
- 2011/04/25
- $320,800
-
-
- Garrett Winters
- Accountant
- Tokyo
- 63
- 2011/07/25
- $170,750
-
-
- Ashton Cox
- Junior Technical Author
- San Francisco
- 66
- 2009/01/12
- $86,000
-
-
- Cedric Kelly
- Senior Javascript Developer
- Edinburgh
- 22
- 2012/03/29
- $433,060
-
-
- Airi Satou
- Accountant
- Tokyo
- 33
- 2008/11/28
- $162,700
-
-
- Brielle Williamson
- Integration Specialist
- New York
- 61
- 2012/12/02
- $372,000
-
-
- Herrod Chandler
- Sales Assistant
- San Francisco
- 59
- 2012/08/06
- $137,500
-
-
- Rhona Davidson
- Integration Specialist
- Tokyo
- 55
- 2010/10/14
- $327,900
-
-
- Colleen Hurst
- Javascript Developer
- San Francisco
- 39
- 2009/09/15
- $205,500
-
-
- Sonya Frost
- Software Engineer
- Edinburgh
- 23
- 2008/12/13
- $103,600
-
-
- Jena Gaines
- Office Manager
- London
- 30
- 2008/12/19
- $90,560
-
-
- Quinn Flynn
- Support Lead
- Edinburgh
- 22
- 2013/03/03
- $342,000
-
-
- Charde Marshall
- Regional Director
- San Francisco
- 36
- 2008/10/16
- $470,600
-
-
- Haley Kennedy
- Senior Marketing Designer
- London
- 43
- 2012/12/18
- $313,500
-
-
- Tatyana Fitzpatrick
- Regional Director
- London
- 19
- 2010/03/17
- $385,750
-
-
- Michael Silva
- Marketing Designer
- London
- 66
- 2012/11/27
- $198,500
-
-
- Paul Byrd
- Chief Financial Officer (CFO)
- New York
- 64
- 2010/06/09
- $725,000
-
-
- Gloria Little
- Systems Administrator
- New York
- 59
- 2009/04/10
- $237,500
-
-
- Bradley Greer
- Software Engineer
- London
- 41
- 2012/10/13
- $132,000
-
-
- Dai Rios
- Personnel Lead
- Edinburgh
- 35
- 2012/09/26
- $217,500
-
-
- Jenette Caldwell
- Development Lead
- New York
- 30
- 2011/09/03
- $345,000
-
-
- Yuri Berry
- Chief Marketing Officer (CMO)
- New York
- 40
- 2009/06/25
- $675,000
-
-
- Caesar Vance
- Pre-Sales Support
- New York
- 21
- 2011/12/12
- $106,450
-
-
- Doris Wilder
- Sales Assistant
- Sidney
- 23
- 2010/09/20
- $85,600
-
-
- Angelica Ramos
- Chief Executive Officer (CEO)
- London
- 47
- 2009/10/09
- $1,200,000
-
-
- Gavin Joyce
- Developer
- Edinburgh
- 42
- 2010/12/22
- $92,575
-
-
- Jennifer Chang
- Regional Director
- Singapore
- 28
- 2010/11/14
- $357,650
-
-
- Brenden Wagner
- Software Engineer
- San Francisco
- 28
- 2011/06/07
- $206,850
-
-
- Fiona Green
- Chief Operating Officer (COO)
- San Francisco
- 48
- 2010/03/11
- $850,000
-
-
- Shou Itou
- Regional Marketing
- Tokyo
- 20
- 2011/08/14
- $163,000
-
-
- Michelle House
- Integration Specialist
- Sidney
- 37
- 2011/06/02
- $95,400
-
-
- Suki Burks
- Developer
- London
- 53
- 2009/10/22
- $114,500
-
-
- Prescott Bartlett
- Technical Author
- London
- 27
- 2011/05/07
- $145,000
-
-
- Gavin Cortez
- Team Leader
- San Francisco
- 22
- 2008/10/26
- $235,500
-
-
- Martena Mccray
- Post-Sales support
- Edinburgh
- 46
- 2011/03/09
- $324,050
-
-
- Unity Butler
- Marketing Designer
- San Francisco
- 47
- 2009/12/09
- $85,675
-
-
- Howard Hatfield
- Office Manager
- San Francisco
- 51
- 2008/12/16
- $164,500
-
-
- Hope Fuentes
- Secretary
- San Francisco
- 41
- 2010/02/12
- $109,850
-
-
- Vivian Harrell
- Financial Controller
- San Francisco
- 62
- 2009/02/14
- $452,500
-
-
- Timothy Mooney
- Office Manager
- London
- 37
- 2008/12/11
- $136,200
-
-
- Jackson Bradshaw
- Director
- New York
- 65
- 2008/09/26
- $645,750
-
-
- Olivia Liang
- Support Engineer
- Singapore
- 64
- 2011/02/03
- $234,500
-
-
- Bruno Nash
- Software Engineer
- London
- 38
- 2011/05/03
- $163,500
-
-
- Sakura Yamamoto
- Support Engineer
- Tokyo
- 37
- 2009/08/19
- $139,575
-
-
- Thor Walton
- Developer
- New York
- 61
- 2013/08/11
- $98,540
-
-
- Finn Camacho
- Support Engineer
- San Francisco
- 47
- 2009/07/07
- $87,500
-
-
- Serge Baldwin
- Data Coordinator
- Singapore
- 64
- 2012/04/09
- $138,575
-
-
- Zenaida Frank
- Software Engineer
- New York
- 63
- 2010/01/04
- $125,250
-
-
- Zorita Serrano
- Software Engineer
- San Francisco
- 56
- 2012/06/01
- $115,000
-
-
- Jennifer Acosta
- Junior Javascript Developer
- Edinburgh
- 43
- 2013/02/01
- $75,650
-
-
- Cara Stevens
- Sales Assistant
- New York
- 46
- 2011/12/06
- $145,600
-
-
- Hermione Butler
- Regional Director
- London
- 47
- 2011/03/21
- $356,250
-
-
- Lael Greer
- Systems Administrator
- London
- 21
- 2009/02/27
- $103,500
-
-
- Jonas Alexander
- Developer
- San Francisco
- 30
- 2010/07/14
- $86,500
-
-
- Shad Decker
- Regional Director
- Edinburgh
- 51
- 2008/11/13
- $183,000
-
-
- Michael Bruce
- Javascript Developer
- Singapore
- 29
- 2011/06/27
- $183,000
-
-
- Donna Snider
- Customer Support
- New York
- 27
- 2011/01/25
- $112,000
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/display.html b/src/sunstone/public/bower_components/datatables/examples/styling/display.html
deleted file mode 100644
index 2784a4c694..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/styling/display.html
+++ /dev/null
@@ -1,764 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Base style
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Base style
-
-
- The DataTables default style file has a number of features which can be enabled based on the class
- name of the table. These features are:
-
-
- cell-border - Cells with a border
- compact - Increase the data density by reducing the cell padding
- hover - Highlight a row when hovered over
- order-column - Highlight the cells in the column currently being ordering
- upon
- row-border - Rows with a border
- stripe - Zebra striped rows
-
-
- These classes can be combined (simply assign multiple classes to the table) to build up the styling
- that you want for your table. For more information on the options in the DataTables stylesheet, please
- refer to the DataTables styling manual
-
- The display class is a short-cut for specifying the stripe hover order-column
- row-border as the class name for a table. This is shown in the example below.
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Tiger Nixon
- System Architect
- Edinburgh
- 61
- 2011/04/25
- $320,800
-
-
- Garrett Winters
- Accountant
- Tokyo
- 63
- 2011/07/25
- $170,750
-
-
- Ashton Cox
- Junior Technical Author
- San Francisco
- 66
- 2009/01/12
- $86,000
-
-
- Cedric Kelly
- Senior Javascript Developer
- Edinburgh
- 22
- 2012/03/29
- $433,060
-
-
- Airi Satou
- Accountant
- Tokyo
- 33
- 2008/11/28
- $162,700
-
-
- Brielle Williamson
- Integration Specialist
- New York
- 61
- 2012/12/02
- $372,000
-
-
- Herrod Chandler
- Sales Assistant
- San Francisco
- 59
- 2012/08/06
- $137,500
-
-
- Rhona Davidson
- Integration Specialist
- Tokyo
- 55
- 2010/10/14
- $327,900
-
-
- Colleen Hurst
- Javascript Developer
- San Francisco
- 39
- 2009/09/15
- $205,500
-
-
- Sonya Frost
- Software Engineer
- Edinburgh
- 23
- 2008/12/13
- $103,600
-
-
- Jena Gaines
- Office Manager
- London
- 30
- 2008/12/19
- $90,560
-
-
- Quinn Flynn
- Support Lead
- Edinburgh
- 22
- 2013/03/03
- $342,000
-
-
- Charde Marshall
- Regional Director
- San Francisco
- 36
- 2008/10/16
- $470,600
-
-
- Haley Kennedy
- Senior Marketing Designer
- London
- 43
- 2012/12/18
- $313,500
-
-
- Tatyana Fitzpatrick
- Regional Director
- London
- 19
- 2010/03/17
- $385,750
-
-
- Michael Silva
- Marketing Designer
- London
- 66
- 2012/11/27
- $198,500
-
-
- Paul Byrd
- Chief Financial Officer (CFO)
- New York
- 64
- 2010/06/09
- $725,000
-
-
- Gloria Little
- Systems Administrator
- New York
- 59
- 2009/04/10
- $237,500
-
-
- Bradley Greer
- Software Engineer
- London
- 41
- 2012/10/13
- $132,000
-
-
- Dai Rios
- Personnel Lead
- Edinburgh
- 35
- 2012/09/26
- $217,500
-
-
- Jenette Caldwell
- Development Lead
- New York
- 30
- 2011/09/03
- $345,000
-
-
- Yuri Berry
- Chief Marketing Officer (CMO)
- New York
- 40
- 2009/06/25
- $675,000
-
-
- Caesar Vance
- Pre-Sales Support
- New York
- 21
- 2011/12/12
- $106,450
-
-
- Doris Wilder
- Sales Assistant
- Sidney
- 23
- 2010/09/20
- $85,600
-
-
- Angelica Ramos
- Chief Executive Officer (CEO)
- London
- 47
- 2009/10/09
- $1,200,000
-
-
- Gavin Joyce
- Developer
- Edinburgh
- 42
- 2010/12/22
- $92,575
-
-
- Jennifer Chang
- Regional Director
- Singapore
- 28
- 2010/11/14
- $357,650
-
-
- Brenden Wagner
- Software Engineer
- San Francisco
- 28
- 2011/06/07
- $206,850
-
-
- Fiona Green
- Chief Operating Officer (COO)
- San Francisco
- 48
- 2010/03/11
- $850,000
-
-
- Shou Itou
- Regional Marketing
- Tokyo
- 20
- 2011/08/14
- $163,000
-
-
- Michelle House
- Integration Specialist
- Sidney
- 37
- 2011/06/02
- $95,400
-
-
- Suki Burks
- Developer
- London
- 53
- 2009/10/22
- $114,500
-
-
- Prescott Bartlett
- Technical Author
- London
- 27
- 2011/05/07
- $145,000
-
-
- Gavin Cortez
- Team Leader
- San Francisco
- 22
- 2008/10/26
- $235,500
-
-
- Martena Mccray
- Post-Sales support
- Edinburgh
- 46
- 2011/03/09
- $324,050
-
-
- Unity Butler
- Marketing Designer
- San Francisco
- 47
- 2009/12/09
- $85,675
-
-
- Howard Hatfield
- Office Manager
- San Francisco
- 51
- 2008/12/16
- $164,500
-
-
- Hope Fuentes
- Secretary
- San Francisco
- 41
- 2010/02/12
- $109,850
-
-
- Vivian Harrell
- Financial Controller
- San Francisco
- 62
- 2009/02/14
- $452,500
-
-
- Timothy Mooney
- Office Manager
- London
- 37
- 2008/12/11
- $136,200
-
-
- Jackson Bradshaw
- Director
- New York
- 65
- 2008/09/26
- $645,750
-
-
- Olivia Liang
- Support Engineer
- Singapore
- 64
- 2011/02/03
- $234,500
-
-
- Bruno Nash
- Software Engineer
- London
- 38
- 2011/05/03
- $163,500
-
-
- Sakura Yamamoto
- Support Engineer
- Tokyo
- 37
- 2009/08/19
- $139,575
-
-
- Thor Walton
- Developer
- New York
- 61
- 2013/08/11
- $98,540
-
-
- Finn Camacho
- Support Engineer
- San Francisco
- 47
- 2009/07/07
- $87,500
-
-
- Serge Baldwin
- Data Coordinator
- Singapore
- 64
- 2012/04/09
- $138,575
-
-
- Zenaida Frank
- Software Engineer
- New York
- 63
- 2010/01/04
- $125,250
-
-
- Zorita Serrano
- Software Engineer
- San Francisco
- 56
- 2012/06/01
- $115,000
-
-
- Jennifer Acosta
- Junior Javascript Developer
- Edinburgh
- 43
- 2013/02/01
- $75,650
-
-
- Cara Stevens
- Sales Assistant
- New York
- 46
- 2011/12/06
- $145,600
-
-
- Hermione Butler
- Regional Director
- London
- 47
- 2011/03/21
- $356,250
-
-
- Lael Greer
- Systems Administrator
- London
- 21
- 2009/02/27
- $103,500
-
-
- Jonas Alexander
- Developer
- San Francisco
- 30
- 2010/07/14
- $86,500
-
-
- Shad Decker
- Regional Director
- Edinburgh
- 51
- 2008/11/13
- $183,000
-
-
- Michael Bruce
- Javascript Developer
- Singapore
- 29
- 2011/06/27
- $183,000
-
-
- Donna Snider
- Customer Support
- New York
- 27
- 2011/01/25
- $112,000
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/foundation.html b/src/sunstone/public/bower_components/datatables/examples/styling/foundation.html
deleted file mode 100644
index 7d343e910b..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/styling/foundation.html
+++ /dev/null
@@ -1,763 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Foundation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Foundation
-
-
- DataTables can integrate seamlessly with Foundation using
- Foundations's table styling
- options to present a consistent interface with your Foundation driven site / app.
-
- DataTables' Foundation integration also provides a renderer for the pagination control in DataTables
- to ensure that the pagination of the table is also styled consistently by Foundation.
-
- This integration is done simply by including the DataTables Foundation files (CSS and JS) which will
- set the defaults needed for DataTables to be initialised as normal, as shown in this examples.
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Tiger Nixon
- System Architect
- Edinburgh
- 61
- 2011/04/25
- $320,800
-
-
- Garrett Winters
- Accountant
- Tokyo
- 63
- 2011/07/25
- $170,750
-
-
- Ashton Cox
- Junior Technical Author
- San Francisco
- 66
- 2009/01/12
- $86,000
-
-
- Cedric Kelly
- Senior Javascript Developer
- Edinburgh
- 22
- 2012/03/29
- $433,060
-
-
- Airi Satou
- Accountant
- Tokyo
- 33
- 2008/11/28
- $162,700
-
-
- Brielle Williamson
- Integration Specialist
- New York
- 61
- 2012/12/02
- $372,000
-
-
- Herrod Chandler
- Sales Assistant
- San Francisco
- 59
- 2012/08/06
- $137,500
-
-
- Rhona Davidson
- Integration Specialist
- Tokyo
- 55
- 2010/10/14
- $327,900
-
-
- Colleen Hurst
- Javascript Developer
- San Francisco
- 39
- 2009/09/15
- $205,500
-
-
- Sonya Frost
- Software Engineer
- Edinburgh
- 23
- 2008/12/13
- $103,600
-
-
- Jena Gaines
- Office Manager
- London
- 30
- 2008/12/19
- $90,560
-
-
- Quinn Flynn
- Support Lead
- Edinburgh
- 22
- 2013/03/03
- $342,000
-
-
- Charde Marshall
- Regional Director
- San Francisco
- 36
- 2008/10/16
- $470,600
-
-
- Haley Kennedy
- Senior Marketing Designer
- London
- 43
- 2012/12/18
- $313,500
-
-
- Tatyana Fitzpatrick
- Regional Director
- London
- 19
- 2010/03/17
- $385,750
-
-
- Michael Silva
- Marketing Designer
- London
- 66
- 2012/11/27
- $198,500
-
-
- Paul Byrd
- Chief Financial Officer (CFO)
- New York
- 64
- 2010/06/09
- $725,000
-
-
- Gloria Little
- Systems Administrator
- New York
- 59
- 2009/04/10
- $237,500
-
-
- Bradley Greer
- Software Engineer
- London
- 41
- 2012/10/13
- $132,000
-
-
- Dai Rios
- Personnel Lead
- Edinburgh
- 35
- 2012/09/26
- $217,500
-
-
- Jenette Caldwell
- Development Lead
- New York
- 30
- 2011/09/03
- $345,000
-
-
- Yuri Berry
- Chief Marketing Officer (CMO)
- New York
- 40
- 2009/06/25
- $675,000
-
-
- Caesar Vance
- Pre-Sales Support
- New York
- 21
- 2011/12/12
- $106,450
-
-
- Doris Wilder
- Sales Assistant
- Sidney
- 23
- 2010/09/20
- $85,600
-
-
- Angelica Ramos
- Chief Executive Officer (CEO)
- London
- 47
- 2009/10/09
- $1,200,000
-
-
- Gavin Joyce
- Developer
- Edinburgh
- 42
- 2010/12/22
- $92,575
-
-
- Jennifer Chang
- Regional Director
- Singapore
- 28
- 2010/11/14
- $357,650
-
-
- Brenden Wagner
- Software Engineer
- San Francisco
- 28
- 2011/06/07
- $206,850
-
-
- Fiona Green
- Chief Operating Officer (COO)
- San Francisco
- 48
- 2010/03/11
- $850,000
-
-
- Shou Itou
- Regional Marketing
- Tokyo
- 20
- 2011/08/14
- $163,000
-
-
- Michelle House
- Integration Specialist
- Sidney
- 37
- 2011/06/02
- $95,400
-
-
- Suki Burks
- Developer
- London
- 53
- 2009/10/22
- $114,500
-
-
- Prescott Bartlett
- Technical Author
- London
- 27
- 2011/05/07
- $145,000
-
-
- Gavin Cortez
- Team Leader
- San Francisco
- 22
- 2008/10/26
- $235,500
-
-
- Martena Mccray
- Post-Sales support
- Edinburgh
- 46
- 2011/03/09
- $324,050
-
-
- Unity Butler
- Marketing Designer
- San Francisco
- 47
- 2009/12/09
- $85,675
-
-
- Howard Hatfield
- Office Manager
- San Francisco
- 51
- 2008/12/16
- $164,500
-
-
- Hope Fuentes
- Secretary
- San Francisco
- 41
- 2010/02/12
- $109,850
-
-
- Vivian Harrell
- Financial Controller
- San Francisco
- 62
- 2009/02/14
- $452,500
-
-
- Timothy Mooney
- Office Manager
- London
- 37
- 2008/12/11
- $136,200
-
-
- Jackson Bradshaw
- Director
- New York
- 65
- 2008/09/26
- $645,750
-
-
- Olivia Liang
- Support Engineer
- Singapore
- 64
- 2011/02/03
- $234,500
-
-
- Bruno Nash
- Software Engineer
- London
- 38
- 2011/05/03
- $163,500
-
-
- Sakura Yamamoto
- Support Engineer
- Tokyo
- 37
- 2009/08/19
- $139,575
-
-
- Thor Walton
- Developer
- New York
- 61
- 2013/08/11
- $98,540
-
-
- Finn Camacho
- Support Engineer
- San Francisco
- 47
- 2009/07/07
- $87,500
-
-
- Serge Baldwin
- Data Coordinator
- Singapore
- 64
- 2012/04/09
- $138,575
-
-
- Zenaida Frank
- Software Engineer
- New York
- 63
- 2010/01/04
- $125,250
-
-
- Zorita Serrano
- Software Engineer
- San Francisco
- 56
- 2012/06/01
- $115,000
-
-
- Jennifer Acosta
- Junior Javascript Developer
- Edinburgh
- 43
- 2013/02/01
- $75,650
-
-
- Cara Stevens
- Sales Assistant
- New York
- 46
- 2011/12/06
- $145,600
-
-
- Hermione Butler
- Regional Director
- London
- 47
- 2011/03/21
- $356,250
-
-
- Lael Greer
- Systems Administrator
- London
- 21
- 2009/02/27
- $103,500
-
-
- Jonas Alexander
- Developer
- San Francisco
- 30
- 2010/07/14
- $86,500
-
-
- Shad Decker
- Regional Director
- Edinburgh
- 51
- 2008/11/13
- $183,000
-
-
- Michael Bruce
- Javascript Developer
- Singapore
- 29
- 2011/06/27
- $183,000
-
-
- Donna Snider
- Customer Support
- New York
- 27
- 2011/01/25
- $112,000
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/hover.html b/src/sunstone/public/bower_components/datatables/examples/styling/hover.html
deleted file mode 100644
index 5f452f07bf..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/styling/hover.html
+++ /dev/null
@@ -1,747 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Base style - hover
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Base style - hover
-
-
- This example shows DataTables with just the hover class specified. This class will
- instruct DataTables' styling to highlight a row when the mouse is hovered over it.
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Tiger Nixon
- System Architect
- Edinburgh
- 61
- 2011/04/25
- $320,800
-
-
- Garrett Winters
- Accountant
- Tokyo
- 63
- 2011/07/25
- $170,750
-
-
- Ashton Cox
- Junior Technical Author
- San Francisco
- 66
- 2009/01/12
- $86,000
-
-
- Cedric Kelly
- Senior Javascript Developer
- Edinburgh
- 22
- 2012/03/29
- $433,060
-
-
- Airi Satou
- Accountant
- Tokyo
- 33
- 2008/11/28
- $162,700
-
-
- Brielle Williamson
- Integration Specialist
- New York
- 61
- 2012/12/02
- $372,000
-
-
- Herrod Chandler
- Sales Assistant
- San Francisco
- 59
- 2012/08/06
- $137,500
-
-
- Rhona Davidson
- Integration Specialist
- Tokyo
- 55
- 2010/10/14
- $327,900
-
-
- Colleen Hurst
- Javascript Developer
- San Francisco
- 39
- 2009/09/15
- $205,500
-
-
- Sonya Frost
- Software Engineer
- Edinburgh
- 23
- 2008/12/13
- $103,600
-
-
- Jena Gaines
- Office Manager
- London
- 30
- 2008/12/19
- $90,560
-
-
- Quinn Flynn
- Support Lead
- Edinburgh
- 22
- 2013/03/03
- $342,000
-
-
- Charde Marshall
- Regional Director
- San Francisco
- 36
- 2008/10/16
- $470,600
-
-
- Haley Kennedy
- Senior Marketing Designer
- London
- 43
- 2012/12/18
- $313,500
-
-
- Tatyana Fitzpatrick
- Regional Director
- London
- 19
- 2010/03/17
- $385,750
-
-
- Michael Silva
- Marketing Designer
- London
- 66
- 2012/11/27
- $198,500
-
-
- Paul Byrd
- Chief Financial Officer (CFO)
- New York
- 64
- 2010/06/09
- $725,000
-
-
- Gloria Little
- Systems Administrator
- New York
- 59
- 2009/04/10
- $237,500
-
-
- Bradley Greer
- Software Engineer
- London
- 41
- 2012/10/13
- $132,000
-
-
- Dai Rios
- Personnel Lead
- Edinburgh
- 35
- 2012/09/26
- $217,500
-
-
- Jenette Caldwell
- Development Lead
- New York
- 30
- 2011/09/03
- $345,000
-
-
- Yuri Berry
- Chief Marketing Officer (CMO)
- New York
- 40
- 2009/06/25
- $675,000
-
-
- Caesar Vance
- Pre-Sales Support
- New York
- 21
- 2011/12/12
- $106,450
-
-
- Doris Wilder
- Sales Assistant
- Sidney
- 23
- 2010/09/20
- $85,600
-
-
- Angelica Ramos
- Chief Executive Officer (CEO)
- London
- 47
- 2009/10/09
- $1,200,000
-
-
- Gavin Joyce
- Developer
- Edinburgh
- 42
- 2010/12/22
- $92,575
-
-
- Jennifer Chang
- Regional Director
- Singapore
- 28
- 2010/11/14
- $357,650
-
-
- Brenden Wagner
- Software Engineer
- San Francisco
- 28
- 2011/06/07
- $206,850
-
-
- Fiona Green
- Chief Operating Officer (COO)
- San Francisco
- 48
- 2010/03/11
- $850,000
-
-
- Shou Itou
- Regional Marketing
- Tokyo
- 20
- 2011/08/14
- $163,000
-
-
- Michelle House
- Integration Specialist
- Sidney
- 37
- 2011/06/02
- $95,400
-
-
- Suki Burks
- Developer
- London
- 53
- 2009/10/22
- $114,500
-
-
- Prescott Bartlett
- Technical Author
- London
- 27
- 2011/05/07
- $145,000
-
-
- Gavin Cortez
- Team Leader
- San Francisco
- 22
- 2008/10/26
- $235,500
-
-
- Martena Mccray
- Post-Sales support
- Edinburgh
- 46
- 2011/03/09
- $324,050
-
-
- Unity Butler
- Marketing Designer
- San Francisco
- 47
- 2009/12/09
- $85,675
-
-
- Howard Hatfield
- Office Manager
- San Francisco
- 51
- 2008/12/16
- $164,500
-
-
- Hope Fuentes
- Secretary
- San Francisco
- 41
- 2010/02/12
- $109,850
-
-
- Vivian Harrell
- Financial Controller
- San Francisco
- 62
- 2009/02/14
- $452,500
-
-
- Timothy Mooney
- Office Manager
- London
- 37
- 2008/12/11
- $136,200
-
-
- Jackson Bradshaw
- Director
- New York
- 65
- 2008/09/26
- $645,750
-
-
- Olivia Liang
- Support Engineer
- Singapore
- 64
- 2011/02/03
- $234,500
-
-
- Bruno Nash
- Software Engineer
- London
- 38
- 2011/05/03
- $163,500
-
-
- Sakura Yamamoto
- Support Engineer
- Tokyo
- 37
- 2009/08/19
- $139,575
-
-
- Thor Walton
- Developer
- New York
- 61
- 2013/08/11
- $98,540
-
-
- Finn Camacho
- Support Engineer
- San Francisco
- 47
- 2009/07/07
- $87,500
-
-
- Serge Baldwin
- Data Coordinator
- Singapore
- 64
- 2012/04/09
- $138,575
-
-
- Zenaida Frank
- Software Engineer
- New York
- 63
- 2010/01/04
- $125,250
-
-
- Zorita Serrano
- Software Engineer
- San Francisco
- 56
- 2012/06/01
- $115,000
-
-
- Jennifer Acosta
- Junior Javascript Developer
- Edinburgh
- 43
- 2013/02/01
- $75,650
-
-
- Cara Stevens
- Sales Assistant
- New York
- 46
- 2011/12/06
- $145,600
-
-
- Hermione Butler
- Regional Director
- London
- 47
- 2011/03/21
- $356,250
-
-
- Lael Greer
- Systems Administrator
- London
- 21
- 2009/02/27
- $103,500
-
-
- Jonas Alexander
- Developer
- San Francisco
- 30
- 2010/07/14
- $86,500
-
-
- Shad Decker
- Regional Director
- Edinburgh
- 51
- 2008/11/13
- $183,000
-
-
- Michael Bruce
- Javascript Developer
- Singapore
- 29
- 2011/06/27
- $183,000
-
-
- Donna Snider
- Customer Support
- New York
- 27
- 2011/01/25
- $112,000
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/index.html b/src/sunstone/public/bower_components/datatables/examples/styling/index.html
deleted file mode 100644
index fa64fa847a..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/styling/index.html
+++ /dev/null
@@ -1,73 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables examples - Styling
-
-
-
-
-
- DataTables example Styling
-
-
- When using DataTables, you want your tables to fit in with your site / app to make the end user
- experience as seamless as possible. For this reason, DataTables provides an easy to customise core
- stylesheet, which has a number of features that you can enable or disable as you required. Additionally
- there are a number of integration packages which can be used to fit DataTables into a site which uses
- some of the popular CSS libraries such as Twitter Bootstrap and Foundation. Or of course you can craft
- your own CSS to fit it into your site perfectly!
-
- This section includes examples of how DataTables can be styled using these methods.
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/jqueryUI.html b/src/sunstone/public/bower_components/datatables/examples/styling/jqueryUI.html
deleted file mode 100644
index 25b6cfc1ee..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/styling/jqueryUI.html
+++ /dev/null
@@ -1,768 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - jQuery UI ThemeRoller
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example jQuery UI ThemeRoller
-
-
- DataTables has the ability to integrate seamlessly with almost any styling library, and integration
- files are provided for several of the popular styling libraries, including jQuery UI.
-
- To have your table styles integrate with jQuery UI's ThemeRoller styles, simply include the
- DataTables CSS and JS integration files for jQuery UI, as shown in this example. Note also that because
- jQuery doesn't provide table styles like some other CSS frameworks, the CSS integration file does add
- this styling information.
-
- Please note that DataTables 1.10- actually has built-in support for jQuery UI styling integration
- through the jQueryUIDT option. However, this option is
- deprecated in DataTables 1.10 and will be removed DataTables 1.11, matching how styling integration is
- provided for other libraries - a more modular, maintainable and extensible method. The method presented
- on this page is the method that will be use in future.
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Tiger Nixon
- System Architect
- Edinburgh
- 61
- 2011/04/25
- $320,800
-
-
- Garrett Winters
- Accountant
- Tokyo
- 63
- 2011/07/25
- $170,750
-
-
- Ashton Cox
- Junior Technical Author
- San Francisco
- 66
- 2009/01/12
- $86,000
-
-
- Cedric Kelly
- Senior Javascript Developer
- Edinburgh
- 22
- 2012/03/29
- $433,060
-
-
- Airi Satou
- Accountant
- Tokyo
- 33
- 2008/11/28
- $162,700
-
-
- Brielle Williamson
- Integration Specialist
- New York
- 61
- 2012/12/02
- $372,000
-
-
- Herrod Chandler
- Sales Assistant
- San Francisco
- 59
- 2012/08/06
- $137,500
-
-
- Rhona Davidson
- Integration Specialist
- Tokyo
- 55
- 2010/10/14
- $327,900
-
-
- Colleen Hurst
- Javascript Developer
- San Francisco
- 39
- 2009/09/15
- $205,500
-
-
- Sonya Frost
- Software Engineer
- Edinburgh
- 23
- 2008/12/13
- $103,600
-
-
- Jena Gaines
- Office Manager
- London
- 30
- 2008/12/19
- $90,560
-
-
- Quinn Flynn
- Support Lead
- Edinburgh
- 22
- 2013/03/03
- $342,000
-
-
- Charde Marshall
- Regional Director
- San Francisco
- 36
- 2008/10/16
- $470,600
-
-
- Haley Kennedy
- Senior Marketing Designer
- London
- 43
- 2012/12/18
- $313,500
-
-
- Tatyana Fitzpatrick
- Regional Director
- London
- 19
- 2010/03/17
- $385,750
-
-
- Michael Silva
- Marketing Designer
- London
- 66
- 2012/11/27
- $198,500
-
-
- Paul Byrd
- Chief Financial Officer (CFO)
- New York
- 64
- 2010/06/09
- $725,000
-
-
- Gloria Little
- Systems Administrator
- New York
- 59
- 2009/04/10
- $237,500
-
-
- Bradley Greer
- Software Engineer
- London
- 41
- 2012/10/13
- $132,000
-
-
- Dai Rios
- Personnel Lead
- Edinburgh
- 35
- 2012/09/26
- $217,500
-
-
- Jenette Caldwell
- Development Lead
- New York
- 30
- 2011/09/03
- $345,000
-
-
- Yuri Berry
- Chief Marketing Officer (CMO)
- New York
- 40
- 2009/06/25
- $675,000
-
-
- Caesar Vance
- Pre-Sales Support
- New York
- 21
- 2011/12/12
- $106,450
-
-
- Doris Wilder
- Sales Assistant
- Sidney
- 23
- 2010/09/20
- $85,600
-
-
- Angelica Ramos
- Chief Executive Officer (CEO)
- London
- 47
- 2009/10/09
- $1,200,000
-
-
- Gavin Joyce
- Developer
- Edinburgh
- 42
- 2010/12/22
- $92,575
-
-
- Jennifer Chang
- Regional Director
- Singapore
- 28
- 2010/11/14
- $357,650
-
-
- Brenden Wagner
- Software Engineer
- San Francisco
- 28
- 2011/06/07
- $206,850
-
-
- Fiona Green
- Chief Operating Officer (COO)
- San Francisco
- 48
- 2010/03/11
- $850,000
-
-
- Shou Itou
- Regional Marketing
- Tokyo
- 20
- 2011/08/14
- $163,000
-
-
- Michelle House
- Integration Specialist
- Sidney
- 37
- 2011/06/02
- $95,400
-
-
- Suki Burks
- Developer
- London
- 53
- 2009/10/22
- $114,500
-
-
- Prescott Bartlett
- Technical Author
- London
- 27
- 2011/05/07
- $145,000
-
-
- Gavin Cortez
- Team Leader
- San Francisco
- 22
- 2008/10/26
- $235,500
-
-
- Martena Mccray
- Post-Sales support
- Edinburgh
- 46
- 2011/03/09
- $324,050
-
-
- Unity Butler
- Marketing Designer
- San Francisco
- 47
- 2009/12/09
- $85,675
-
-
- Howard Hatfield
- Office Manager
- San Francisco
- 51
- 2008/12/16
- $164,500
-
-
- Hope Fuentes
- Secretary
- San Francisco
- 41
- 2010/02/12
- $109,850
-
-
- Vivian Harrell
- Financial Controller
- San Francisco
- 62
- 2009/02/14
- $452,500
-
-
- Timothy Mooney
- Office Manager
- London
- 37
- 2008/12/11
- $136,200
-
-
- Jackson Bradshaw
- Director
- New York
- 65
- 2008/09/26
- $645,750
-
-
- Olivia Liang
- Support Engineer
- Singapore
- 64
- 2011/02/03
- $234,500
-
-
- Bruno Nash
- Software Engineer
- London
- 38
- 2011/05/03
- $163,500
-
-
- Sakura Yamamoto
- Support Engineer
- Tokyo
- 37
- 2009/08/19
- $139,575
-
-
- Thor Walton
- Developer
- New York
- 61
- 2013/08/11
- $98,540
-
-
- Finn Camacho
- Support Engineer
- San Francisco
- 47
- 2009/07/07
- $87,500
-
-
- Serge Baldwin
- Data Coordinator
- Singapore
- 64
- 2012/04/09
- $138,575
-
-
- Zenaida Frank
- Software Engineer
- New York
- 63
- 2010/01/04
- $125,250
-
-
- Zorita Serrano
- Software Engineer
- San Francisco
- 56
- 2012/06/01
- $115,000
-
-
- Jennifer Acosta
- Junior Javascript Developer
- Edinburgh
- 43
- 2013/02/01
- $75,650
-
-
- Cara Stevens
- Sales Assistant
- New York
- 46
- 2011/12/06
- $145,600
-
-
- Hermione Butler
- Regional Director
- London
- 47
- 2011/03/21
- $356,250
-
-
- Lael Greer
- Systems Administrator
- London
- 21
- 2009/02/27
- $103,500
-
-
- Jonas Alexander
- Developer
- San Francisco
- 30
- 2010/07/14
- $86,500
-
-
- Shad Decker
- Regional Director
- Edinburgh
- 51
- 2008/11/13
- $183,000
-
-
- Michael Bruce
- Javascript Developer
- Singapore
- 29
- 2011/06/27
- $183,000
-
-
- Donna Snider
- Customer Support
- New York
- 27
- 2011/01/25
- $112,000
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/no-classes.html b/src/sunstone/public/bower_components/datatables/examples/styling/no-classes.html
deleted file mode 100644
index 5b0a64a62f..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/styling/no-classes.html
+++ /dev/null
@@ -1,747 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Base style - no styling classes
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Base style - no styling classes
-
-
- This example shows the base DataTables style file being used, with none of the additional feature
- style classes being used.
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Tiger Nixon
- System Architect
- Edinburgh
- 61
- 2011/04/25
- $320,800
-
-
- Garrett Winters
- Accountant
- Tokyo
- 63
- 2011/07/25
- $170,750
-
-
- Ashton Cox
- Junior Technical Author
- San Francisco
- 66
- 2009/01/12
- $86,000
-
-
- Cedric Kelly
- Senior Javascript Developer
- Edinburgh
- 22
- 2012/03/29
- $433,060
-
-
- Airi Satou
- Accountant
- Tokyo
- 33
- 2008/11/28
- $162,700
-
-
- Brielle Williamson
- Integration Specialist
- New York
- 61
- 2012/12/02
- $372,000
-
-
- Herrod Chandler
- Sales Assistant
- San Francisco
- 59
- 2012/08/06
- $137,500
-
-
- Rhona Davidson
- Integration Specialist
- Tokyo
- 55
- 2010/10/14
- $327,900
-
-
- Colleen Hurst
- Javascript Developer
- San Francisco
- 39
- 2009/09/15
- $205,500
-
-
- Sonya Frost
- Software Engineer
- Edinburgh
- 23
- 2008/12/13
- $103,600
-
-
- Jena Gaines
- Office Manager
- London
- 30
- 2008/12/19
- $90,560
-
-
- Quinn Flynn
- Support Lead
- Edinburgh
- 22
- 2013/03/03
- $342,000
-
-
- Charde Marshall
- Regional Director
- San Francisco
- 36
- 2008/10/16
- $470,600
-
-
- Haley Kennedy
- Senior Marketing Designer
- London
- 43
- 2012/12/18
- $313,500
-
-
- Tatyana Fitzpatrick
- Regional Director
- London
- 19
- 2010/03/17
- $385,750
-
-
- Michael Silva
- Marketing Designer
- London
- 66
- 2012/11/27
- $198,500
-
-
- Paul Byrd
- Chief Financial Officer (CFO)
- New York
- 64
- 2010/06/09
- $725,000
-
-
- Gloria Little
- Systems Administrator
- New York
- 59
- 2009/04/10
- $237,500
-
-
- Bradley Greer
- Software Engineer
- London
- 41
- 2012/10/13
- $132,000
-
-
- Dai Rios
- Personnel Lead
- Edinburgh
- 35
- 2012/09/26
- $217,500
-
-
- Jenette Caldwell
- Development Lead
- New York
- 30
- 2011/09/03
- $345,000
-
-
- Yuri Berry
- Chief Marketing Officer (CMO)
- New York
- 40
- 2009/06/25
- $675,000
-
-
- Caesar Vance
- Pre-Sales Support
- New York
- 21
- 2011/12/12
- $106,450
-
-
- Doris Wilder
- Sales Assistant
- Sidney
- 23
- 2010/09/20
- $85,600
-
-
- Angelica Ramos
- Chief Executive Officer (CEO)
- London
- 47
- 2009/10/09
- $1,200,000
-
-
- Gavin Joyce
- Developer
- Edinburgh
- 42
- 2010/12/22
- $92,575
-
-
- Jennifer Chang
- Regional Director
- Singapore
- 28
- 2010/11/14
- $357,650
-
-
- Brenden Wagner
- Software Engineer
- San Francisco
- 28
- 2011/06/07
- $206,850
-
-
- Fiona Green
- Chief Operating Officer (COO)
- San Francisco
- 48
- 2010/03/11
- $850,000
-
-
- Shou Itou
- Regional Marketing
- Tokyo
- 20
- 2011/08/14
- $163,000
-
-
- Michelle House
- Integration Specialist
- Sidney
- 37
- 2011/06/02
- $95,400
-
-
- Suki Burks
- Developer
- London
- 53
- 2009/10/22
- $114,500
-
-
- Prescott Bartlett
- Technical Author
- London
- 27
- 2011/05/07
- $145,000
-
-
- Gavin Cortez
- Team Leader
- San Francisco
- 22
- 2008/10/26
- $235,500
-
-
- Martena Mccray
- Post-Sales support
- Edinburgh
- 46
- 2011/03/09
- $324,050
-
-
- Unity Butler
- Marketing Designer
- San Francisco
- 47
- 2009/12/09
- $85,675
-
-
- Howard Hatfield
- Office Manager
- San Francisco
- 51
- 2008/12/16
- $164,500
-
-
- Hope Fuentes
- Secretary
- San Francisco
- 41
- 2010/02/12
- $109,850
-
-
- Vivian Harrell
- Financial Controller
- San Francisco
- 62
- 2009/02/14
- $452,500
-
-
- Timothy Mooney
- Office Manager
- London
- 37
- 2008/12/11
- $136,200
-
-
- Jackson Bradshaw
- Director
- New York
- 65
- 2008/09/26
- $645,750
-
-
- Olivia Liang
- Support Engineer
- Singapore
- 64
- 2011/02/03
- $234,500
-
-
- Bruno Nash
- Software Engineer
- London
- 38
- 2011/05/03
- $163,500
-
-
- Sakura Yamamoto
- Support Engineer
- Tokyo
- 37
- 2009/08/19
- $139,575
-
-
- Thor Walton
- Developer
- New York
- 61
- 2013/08/11
- $98,540
-
-
- Finn Camacho
- Support Engineer
- San Francisco
- 47
- 2009/07/07
- $87,500
-
-
- Serge Baldwin
- Data Coordinator
- Singapore
- 64
- 2012/04/09
- $138,575
-
-
- Zenaida Frank
- Software Engineer
- New York
- 63
- 2010/01/04
- $125,250
-
-
- Zorita Serrano
- Software Engineer
- San Francisco
- 56
- 2012/06/01
- $115,000
-
-
- Jennifer Acosta
- Junior Javascript Developer
- Edinburgh
- 43
- 2013/02/01
- $75,650
-
-
- Cara Stevens
- Sales Assistant
- New York
- 46
- 2011/12/06
- $145,600
-
-
- Hermione Butler
- Regional Director
- London
- 47
- 2011/03/21
- $356,250
-
-
- Lael Greer
- Systems Administrator
- London
- 21
- 2009/02/27
- $103,500
-
-
- Jonas Alexander
- Developer
- San Francisco
- 30
- 2010/07/14
- $86,500
-
-
- Shad Decker
- Regional Director
- Edinburgh
- 51
- 2008/11/13
- $183,000
-
-
- Michael Bruce
- Javascript Developer
- Singapore
- 29
- 2011/06/27
- $183,000
-
-
- Donna Snider
- Customer Support
- New York
- 27
- 2011/01/25
- $112,000
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/order-column.html b/src/sunstone/public/bower_components/datatables/examples/styling/order-column.html
deleted file mode 100644
index cd6ec82e0e..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/styling/order-column.html
+++ /dev/null
@@ -1,748 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Base style - order-column
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Base style - order-column
-
-
- This example shows DataTables with just the order-column class specified. Typically you
- would want to use the stripe feature class in addition to order-column
- (possibly hover as well), but this example shows just the ordered column highlighting.
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Tiger Nixon
- System Architect
- Edinburgh
- 61
- 2011/04/25
- $320,800
-
-
- Garrett Winters
- Accountant
- Tokyo
- 63
- 2011/07/25
- $170,750
-
-
- Ashton Cox
- Junior Technical Author
- San Francisco
- 66
- 2009/01/12
- $86,000
-
-
- Cedric Kelly
- Senior Javascript Developer
- Edinburgh
- 22
- 2012/03/29
- $433,060
-
-
- Airi Satou
- Accountant
- Tokyo
- 33
- 2008/11/28
- $162,700
-
-
- Brielle Williamson
- Integration Specialist
- New York
- 61
- 2012/12/02
- $372,000
-
-
- Herrod Chandler
- Sales Assistant
- San Francisco
- 59
- 2012/08/06
- $137,500
-
-
- Rhona Davidson
- Integration Specialist
- Tokyo
- 55
- 2010/10/14
- $327,900
-
-
- Colleen Hurst
- Javascript Developer
- San Francisco
- 39
- 2009/09/15
- $205,500
-
-
- Sonya Frost
- Software Engineer
- Edinburgh
- 23
- 2008/12/13
- $103,600
-
-
- Jena Gaines
- Office Manager
- London
- 30
- 2008/12/19
- $90,560
-
-
- Quinn Flynn
- Support Lead
- Edinburgh
- 22
- 2013/03/03
- $342,000
-
-
- Charde Marshall
- Regional Director
- San Francisco
- 36
- 2008/10/16
- $470,600
-
-
- Haley Kennedy
- Senior Marketing Designer
- London
- 43
- 2012/12/18
- $313,500
-
-
- Tatyana Fitzpatrick
- Regional Director
- London
- 19
- 2010/03/17
- $385,750
-
-
- Michael Silva
- Marketing Designer
- London
- 66
- 2012/11/27
- $198,500
-
-
- Paul Byrd
- Chief Financial Officer (CFO)
- New York
- 64
- 2010/06/09
- $725,000
-
-
- Gloria Little
- Systems Administrator
- New York
- 59
- 2009/04/10
- $237,500
-
-
- Bradley Greer
- Software Engineer
- London
- 41
- 2012/10/13
- $132,000
-
-
- Dai Rios
- Personnel Lead
- Edinburgh
- 35
- 2012/09/26
- $217,500
-
-
- Jenette Caldwell
- Development Lead
- New York
- 30
- 2011/09/03
- $345,000
-
-
- Yuri Berry
- Chief Marketing Officer (CMO)
- New York
- 40
- 2009/06/25
- $675,000
-
-
- Caesar Vance
- Pre-Sales Support
- New York
- 21
- 2011/12/12
- $106,450
-
-
- Doris Wilder
- Sales Assistant
- Sidney
- 23
- 2010/09/20
- $85,600
-
-
- Angelica Ramos
- Chief Executive Officer (CEO)
- London
- 47
- 2009/10/09
- $1,200,000
-
-
- Gavin Joyce
- Developer
- Edinburgh
- 42
- 2010/12/22
- $92,575
-
-
- Jennifer Chang
- Regional Director
- Singapore
- 28
- 2010/11/14
- $357,650
-
-
- Brenden Wagner
- Software Engineer
- San Francisco
- 28
- 2011/06/07
- $206,850
-
-
- Fiona Green
- Chief Operating Officer (COO)
- San Francisco
- 48
- 2010/03/11
- $850,000
-
-
- Shou Itou
- Regional Marketing
- Tokyo
- 20
- 2011/08/14
- $163,000
-
-
- Michelle House
- Integration Specialist
- Sidney
- 37
- 2011/06/02
- $95,400
-
-
- Suki Burks
- Developer
- London
- 53
- 2009/10/22
- $114,500
-
-
- Prescott Bartlett
- Technical Author
- London
- 27
- 2011/05/07
- $145,000
-
-
- Gavin Cortez
- Team Leader
- San Francisco
- 22
- 2008/10/26
- $235,500
-
-
- Martena Mccray
- Post-Sales support
- Edinburgh
- 46
- 2011/03/09
- $324,050
-
-
- Unity Butler
- Marketing Designer
- San Francisco
- 47
- 2009/12/09
- $85,675
-
-
- Howard Hatfield
- Office Manager
- San Francisco
- 51
- 2008/12/16
- $164,500
-
-
- Hope Fuentes
- Secretary
- San Francisco
- 41
- 2010/02/12
- $109,850
-
-
- Vivian Harrell
- Financial Controller
- San Francisco
- 62
- 2009/02/14
- $452,500
-
-
- Timothy Mooney
- Office Manager
- London
- 37
- 2008/12/11
- $136,200
-
-
- Jackson Bradshaw
- Director
- New York
- 65
- 2008/09/26
- $645,750
-
-
- Olivia Liang
- Support Engineer
- Singapore
- 64
- 2011/02/03
- $234,500
-
-
- Bruno Nash
- Software Engineer
- London
- 38
- 2011/05/03
- $163,500
-
-
- Sakura Yamamoto
- Support Engineer
- Tokyo
- 37
- 2009/08/19
- $139,575
-
-
- Thor Walton
- Developer
- New York
- 61
- 2013/08/11
- $98,540
-
-
- Finn Camacho
- Support Engineer
- San Francisco
- 47
- 2009/07/07
- $87,500
-
-
- Serge Baldwin
- Data Coordinator
- Singapore
- 64
- 2012/04/09
- $138,575
-
-
- Zenaida Frank
- Software Engineer
- New York
- 63
- 2010/01/04
- $125,250
-
-
- Zorita Serrano
- Software Engineer
- San Francisco
- 56
- 2012/06/01
- $115,000
-
-
- Jennifer Acosta
- Junior Javascript Developer
- Edinburgh
- 43
- 2013/02/01
- $75,650
-
-
- Cara Stevens
- Sales Assistant
- New York
- 46
- 2011/12/06
- $145,600
-
-
- Hermione Butler
- Regional Director
- London
- 47
- 2011/03/21
- $356,250
-
-
- Lael Greer
- Systems Administrator
- London
- 21
- 2009/02/27
- $103,500
-
-
- Jonas Alexander
- Developer
- San Francisco
- 30
- 2010/07/14
- $86,500
-
-
- Shad Decker
- Regional Director
- Edinburgh
- 51
- 2008/11/13
- $183,000
-
-
- Michael Bruce
- Javascript Developer
- Singapore
- 29
- 2011/06/27
- $183,000
-
-
- Donna Snider
- Customer Support
- New York
- 27
- 2011/01/25
- $112,000
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/row-border.html b/src/sunstone/public/bower_components/datatables/examples/styling/row-border.html
deleted file mode 100644
index fd78c95081..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/styling/row-border.html
+++ /dev/null
@@ -1,747 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Base style - row borders
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Base style - row borders
-
-
- This example shows DataTables with just the row-border class specified, which can
- create a pleasing, minimalist, interface for your tables.
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Tiger Nixon
- System Architect
- Edinburgh
- 61
- 2011/04/25
- $320,800
-
-
- Garrett Winters
- Accountant
- Tokyo
- 63
- 2011/07/25
- $170,750
-
-
- Ashton Cox
- Junior Technical Author
- San Francisco
- 66
- 2009/01/12
- $86,000
-
-
- Cedric Kelly
- Senior Javascript Developer
- Edinburgh
- 22
- 2012/03/29
- $433,060
-
-
- Airi Satou
- Accountant
- Tokyo
- 33
- 2008/11/28
- $162,700
-
-
- Brielle Williamson
- Integration Specialist
- New York
- 61
- 2012/12/02
- $372,000
-
-
- Herrod Chandler
- Sales Assistant
- San Francisco
- 59
- 2012/08/06
- $137,500
-
-
- Rhona Davidson
- Integration Specialist
- Tokyo
- 55
- 2010/10/14
- $327,900
-
-
- Colleen Hurst
- Javascript Developer
- San Francisco
- 39
- 2009/09/15
- $205,500
-
-
- Sonya Frost
- Software Engineer
- Edinburgh
- 23
- 2008/12/13
- $103,600
-
-
- Jena Gaines
- Office Manager
- London
- 30
- 2008/12/19
- $90,560
-
-
- Quinn Flynn
- Support Lead
- Edinburgh
- 22
- 2013/03/03
- $342,000
-
-
- Charde Marshall
- Regional Director
- San Francisco
- 36
- 2008/10/16
- $470,600
-
-
- Haley Kennedy
- Senior Marketing Designer
- London
- 43
- 2012/12/18
- $313,500
-
-
- Tatyana Fitzpatrick
- Regional Director
- London
- 19
- 2010/03/17
- $385,750
-
-
- Michael Silva
- Marketing Designer
- London
- 66
- 2012/11/27
- $198,500
-
-
- Paul Byrd
- Chief Financial Officer (CFO)
- New York
- 64
- 2010/06/09
- $725,000
-
-
- Gloria Little
- Systems Administrator
- New York
- 59
- 2009/04/10
- $237,500
-
-
- Bradley Greer
- Software Engineer
- London
- 41
- 2012/10/13
- $132,000
-
-
- Dai Rios
- Personnel Lead
- Edinburgh
- 35
- 2012/09/26
- $217,500
-
-
- Jenette Caldwell
- Development Lead
- New York
- 30
- 2011/09/03
- $345,000
-
-
- Yuri Berry
- Chief Marketing Officer (CMO)
- New York
- 40
- 2009/06/25
- $675,000
-
-
- Caesar Vance
- Pre-Sales Support
- New York
- 21
- 2011/12/12
- $106,450
-
-
- Doris Wilder
- Sales Assistant
- Sidney
- 23
- 2010/09/20
- $85,600
-
-
- Angelica Ramos
- Chief Executive Officer (CEO)
- London
- 47
- 2009/10/09
- $1,200,000
-
-
- Gavin Joyce
- Developer
- Edinburgh
- 42
- 2010/12/22
- $92,575
-
-
- Jennifer Chang
- Regional Director
- Singapore
- 28
- 2010/11/14
- $357,650
-
-
- Brenden Wagner
- Software Engineer
- San Francisco
- 28
- 2011/06/07
- $206,850
-
-
- Fiona Green
- Chief Operating Officer (COO)
- San Francisco
- 48
- 2010/03/11
- $850,000
-
-
- Shou Itou
- Regional Marketing
- Tokyo
- 20
- 2011/08/14
- $163,000
-
-
- Michelle House
- Integration Specialist
- Sidney
- 37
- 2011/06/02
- $95,400
-
-
- Suki Burks
- Developer
- London
- 53
- 2009/10/22
- $114,500
-
-
- Prescott Bartlett
- Technical Author
- London
- 27
- 2011/05/07
- $145,000
-
-
- Gavin Cortez
- Team Leader
- San Francisco
- 22
- 2008/10/26
- $235,500
-
-
- Martena Mccray
- Post-Sales support
- Edinburgh
- 46
- 2011/03/09
- $324,050
-
-
- Unity Butler
- Marketing Designer
- San Francisco
- 47
- 2009/12/09
- $85,675
-
-
- Howard Hatfield
- Office Manager
- San Francisco
- 51
- 2008/12/16
- $164,500
-
-
- Hope Fuentes
- Secretary
- San Francisco
- 41
- 2010/02/12
- $109,850
-
-
- Vivian Harrell
- Financial Controller
- San Francisco
- 62
- 2009/02/14
- $452,500
-
-
- Timothy Mooney
- Office Manager
- London
- 37
- 2008/12/11
- $136,200
-
-
- Jackson Bradshaw
- Director
- New York
- 65
- 2008/09/26
- $645,750
-
-
- Olivia Liang
- Support Engineer
- Singapore
- 64
- 2011/02/03
- $234,500
-
-
- Bruno Nash
- Software Engineer
- London
- 38
- 2011/05/03
- $163,500
-
-
- Sakura Yamamoto
- Support Engineer
- Tokyo
- 37
- 2009/08/19
- $139,575
-
-
- Thor Walton
- Developer
- New York
- 61
- 2013/08/11
- $98,540
-
-
- Finn Camacho
- Support Engineer
- San Francisco
- 47
- 2009/07/07
- $87,500
-
-
- Serge Baldwin
- Data Coordinator
- Singapore
- 64
- 2012/04/09
- $138,575
-
-
- Zenaida Frank
- Software Engineer
- New York
- 63
- 2010/01/04
- $125,250
-
-
- Zorita Serrano
- Software Engineer
- San Francisco
- 56
- 2012/06/01
- $115,000
-
-
- Jennifer Acosta
- Junior Javascript Developer
- Edinburgh
- 43
- 2013/02/01
- $75,650
-
-
- Cara Stevens
- Sales Assistant
- New York
- 46
- 2011/12/06
- $145,600
-
-
- Hermione Butler
- Regional Director
- London
- 47
- 2011/03/21
- $356,250
-
-
- Lael Greer
- Systems Administrator
- London
- 21
- 2009/02/27
- $103,500
-
-
- Jonas Alexander
- Developer
- San Francisco
- 30
- 2010/07/14
- $86,500
-
-
- Shad Decker
- Regional Director
- Edinburgh
- 51
- 2008/11/13
- $183,000
-
-
- Michael Bruce
- Javascript Developer
- Singapore
- 29
- 2011/06/27
- $183,000
-
-
- Donna Snider
- Customer Support
- New York
- 27
- 2011/01/25
- $112,000
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/examples/styling/stripe.html b/src/sunstone/public/bower_components/datatables/examples/styling/stripe.html
deleted file mode 100644
index a796a2d555..0000000000
--- a/src/sunstone/public/bower_components/datatables/examples/styling/stripe.html
+++ /dev/null
@@ -1,746 +0,0 @@
-
-
-
-
-
-
-
- DataTables example - Base style - stripe
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- DataTables example Base style - stripe
-
-
- This example shows DataTables with just the stripe class specified.
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Name
- Position
- Office
- Age
- Start date
- Salary
-
-
-
-
-
- Tiger Nixon
- System Architect
- Edinburgh
- 61
- 2011/04/25
- $320,800
-
-
- Garrett Winters
- Accountant
- Tokyo
- 63
- 2011/07/25
- $170,750
-
-
- Ashton Cox
- Junior Technical Author
- San Francisco
- 66
- 2009/01/12
- $86,000
-
-
- Cedric Kelly
- Senior Javascript Developer
- Edinburgh
- 22
- 2012/03/29
- $433,060
-
-
- Airi Satou
- Accountant
- Tokyo
- 33
- 2008/11/28
- $162,700
-
-
- Brielle Williamson
- Integration Specialist
- New York
- 61
- 2012/12/02
- $372,000
-
-
- Herrod Chandler
- Sales Assistant
- San Francisco
- 59
- 2012/08/06
- $137,500
-
-
- Rhona Davidson
- Integration Specialist
- Tokyo
- 55
- 2010/10/14
- $327,900
-
-
- Colleen Hurst
- Javascript Developer
- San Francisco
- 39
- 2009/09/15
- $205,500
-
-
- Sonya Frost
- Software Engineer
- Edinburgh
- 23
- 2008/12/13
- $103,600
-
-
- Jena Gaines
- Office Manager
- London
- 30
- 2008/12/19
- $90,560
-
-
- Quinn Flynn
- Support Lead
- Edinburgh
- 22
- 2013/03/03
- $342,000
-
-
- Charde Marshall
- Regional Director
- San Francisco
- 36
- 2008/10/16
- $470,600
-
-
- Haley Kennedy
- Senior Marketing Designer
- London
- 43
- 2012/12/18
- $313,500
-
-
- Tatyana Fitzpatrick
- Regional Director
- London
- 19
- 2010/03/17
- $385,750
-
-
- Michael Silva
- Marketing Designer
- London
- 66
- 2012/11/27
- $198,500
-
-
- Paul Byrd
- Chief Financial Officer (CFO)
- New York
- 64
- 2010/06/09
- $725,000
-
-
- Gloria Little
- Systems Administrator
- New York
- 59
- 2009/04/10
- $237,500
-
-
- Bradley Greer
- Software Engineer
- London
- 41
- 2012/10/13
- $132,000
-
-
- Dai Rios
- Personnel Lead
- Edinburgh
- 35
- 2012/09/26
- $217,500
-
-
- Jenette Caldwell
- Development Lead
- New York
- 30
- 2011/09/03
- $345,000
-
-
- Yuri Berry
- Chief Marketing Officer (CMO)
- New York
- 40
- 2009/06/25
- $675,000
-
-
- Caesar Vance
- Pre-Sales Support
- New York
- 21
- 2011/12/12
- $106,450
-
-
- Doris Wilder
- Sales Assistant
- Sidney
- 23
- 2010/09/20
- $85,600
-
-
- Angelica Ramos
- Chief Executive Officer (CEO)
- London
- 47
- 2009/10/09
- $1,200,000
-
-
- Gavin Joyce
- Developer
- Edinburgh
- 42
- 2010/12/22
- $92,575
-
-
- Jennifer Chang
- Regional Director
- Singapore
- 28
- 2010/11/14
- $357,650
-
-
- Brenden Wagner
- Software Engineer
- San Francisco
- 28
- 2011/06/07
- $206,850
-
-
- Fiona Green
- Chief Operating Officer (COO)
- San Francisco
- 48
- 2010/03/11
- $850,000
-
-
- Shou Itou
- Regional Marketing
- Tokyo
- 20
- 2011/08/14
- $163,000
-
-
- Michelle House
- Integration Specialist
- Sidney
- 37
- 2011/06/02
- $95,400
-
-
- Suki Burks
- Developer
- London
- 53
- 2009/10/22
- $114,500
-
-
- Prescott Bartlett
- Technical Author
- London
- 27
- 2011/05/07
- $145,000
-
-
- Gavin Cortez
- Team Leader
- San Francisco
- 22
- 2008/10/26
- $235,500
-
-
- Martena Mccray
- Post-Sales support
- Edinburgh
- 46
- 2011/03/09
- $324,050
-
-
- Unity Butler
- Marketing Designer
- San Francisco
- 47
- 2009/12/09
- $85,675
-
-
- Howard Hatfield
- Office Manager
- San Francisco
- 51
- 2008/12/16
- $164,500
-
-
- Hope Fuentes
- Secretary
- San Francisco
- 41
- 2010/02/12
- $109,850
-
-
- Vivian Harrell
- Financial Controller
- San Francisco
- 62
- 2009/02/14
- $452,500
-
-
- Timothy Mooney
- Office Manager
- London
- 37
- 2008/12/11
- $136,200
-
-
- Jackson Bradshaw
- Director
- New York
- 65
- 2008/09/26
- $645,750
-
-
- Olivia Liang
- Support Engineer
- Singapore
- 64
- 2011/02/03
- $234,500
-
-
- Bruno Nash
- Software Engineer
- London
- 38
- 2011/05/03
- $163,500
-
-
- Sakura Yamamoto
- Support Engineer
- Tokyo
- 37
- 2009/08/19
- $139,575
-
-
- Thor Walton
- Developer
- New York
- 61
- 2013/08/11
- $98,540
-
-
- Finn Camacho
- Support Engineer
- San Francisco
- 47
- 2009/07/07
- $87,500
-
-
- Serge Baldwin
- Data Coordinator
- Singapore
- 64
- 2012/04/09
- $138,575
-
-
- Zenaida Frank
- Software Engineer
- New York
- 63
- 2010/01/04
- $125,250
-
-
- Zorita Serrano
- Software Engineer
- San Francisco
- 56
- 2012/06/01
- $115,000
-
-
- Jennifer Acosta
- Junior Javascript Developer
- Edinburgh
- 43
- 2013/02/01
- $75,650
-
-
- Cara Stevens
- Sales Assistant
- New York
- 46
- 2011/12/06
- $145,600
-
-
- Hermione Butler
- Regional Director
- London
- 47
- 2011/03/21
- $356,250
-
-
- Lael Greer
- Systems Administrator
- London
- 21
- 2009/02/27
- $103,500
-
-
- Jonas Alexander
- Developer
- San Francisco
- 30
- 2010/07/14
- $86,500
-
-
- Shad Decker
- Regional Director
- Edinburgh
- 51
- 2008/11/13
- $183,000
-
-
- Michael Bruce
- Javascript Developer
- Singapore
- 29
- 2011/06/27
- $183,000
-
-
- Donna Snider
- Customer Support
- New York
- 27
- 2011/01/25
- $112,000
-
-
-
-
-
- - Javascript
- - HTML
- - CSS
- - Ajax
- - Server-side script
-
-
-
-
- The Javascript shown below is used to initialise the table shown in this
- example:
$(document).ready(function() {
- $('#example').dataTable();
-} );
-
- In addition to the above code, the following Javascript library files are loaded for use in this
- example:
-
-
-
-
-
- The HTML shown below is the raw HTML table element, before it has been enhanced by
- DataTables:
-
-
-
-
- This example uses a little bit of additional CSS beyond what is loaded from the library
- files (below), in order to correctly display the table. The additional CSS used is shown
- below:
-
-
- The following CSS library files are loaded for use in this example to provide the styling of the
- table:
-
-
-
-
-
- This table loads data by Ajax. The latest data that has been loaded is shown below. This data
- will update automatically as any additional data is loaded.
-
-
-
- The script used to perform the server-side processing for this table is shown below. Please note
- that this is just an example script using PHP. Server-side processing scripts can be written in any
- language, using the protocol described in the
- DataTables documentation.
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/src/sunstone/public/bower_components/datatables/media/js/jquery.dataTables.js b/src/sunstone/public/bower_components/datatables/media/js/jquery.dataTables.js
index 8ca3b5d0c8..4aab04b1cc 100644
--- a/src/sunstone/public/bower_components/datatables/media/js/jquery.dataTables.js
+++ b/src/sunstone/public/bower_components/datatables/media/js/jquery.dataTables.js
@@ -1,11 +1,11 @@
-/*! DataTables 1.10.2
+/*! DataTables 1.10.3
* ©2008-2014 SpryMedia Ltd - datatables.net/license
*/
/**
* @summary DataTables
* @description Paginate, search and order HTML tables
- * @version 1.10.2
+ * @version 1.10.3
* @file jquery.dataTables.js
* @author SpryMedia Ltd (www.sprymedia.co.uk)
* @contact www.sprymedia.co.uk/contact
@@ -133,7 +133,7 @@
if ( ! _re_dic[ decimalPoint ] ) {
_re_dic[ decimalPoint ] = new RegExp( _fnEscapeRegex( decimalPoint ), 'g' );
}
- return typeof num === 'string' ?
+ return typeof num === 'string' && decimalPoint !== '.' ?
num.replace( /\./g, '' ).replace( _re_dic[ decimalPoint ], '.' ) :
num;
};
@@ -310,7 +310,6 @@
newKey = key.replace( match[0], match[2].toLowerCase() );
map[ newKey ] = key;
- //console.log( key, match );
if ( match[1] === 'o' )
{
_fnHungarianMap( o[key] );
@@ -673,6 +672,12 @@
return _fnSetObjectDataFn( mDataSrc )( rowData, val, meta );
};
+ // Indicate if DataTables should read DOM data as an object or array
+ // Used in _fnGetRowElements
+ if ( typeof mDataSrc !== 'number' ) {
+ oSettings._rowReadObject = true;
+ }
+
/* Feature sorting overrides column specific when off */
if ( !oSettings.oFeatures.bSort )
{
@@ -1498,19 +1503,22 @@
function _fnGetRowElements( settings, row )
{
var
- d = [],
tds = [],
td = row.firstChild,
name, col, o, i=0, contents,
- columns = settings.aoColumns;
+ columns = settings.aoColumns,
+ objectRead = settings._rowReadObject;
- var attr = function ( str, data, td ) {
+ var d = objectRead ? {} : [];
+
+ var attr = function ( str, td ) {
if ( typeof str === 'string' ) {
var idx = str.indexOf('@');
if ( idx !== -1 ) {
- var src = str.substring( idx+1 );
- o[ '@'+src ] = td.getAttribute( src );
+ var attr = str.substring( idx+1 );
+ var setter = _fnSetObjectDataFn( str );
+ setter( d, td.getAttribute( attr ) );
}
}
};
@@ -1520,18 +1528,26 @@
contents = $.trim(cell.innerHTML);
if ( col && col._bAttrSrc ) {
- o = {
- display: contents
- };
+ var setter = _fnSetObjectDataFn( col.mData._ );
+ setter( d, contents );
- attr( col.mData.sort, o, cell );
- attr( col.mData.type, o, cell );
- attr( col.mData.filter, o, cell );
-
- d.push( o );
+ attr( col.mData.sort, cell );
+ attr( col.mData.type, cell );
+ attr( col.mData.filter, cell );
}
else {
- d.push( contents );
+ // Depending on the `data` option for the columns the data can be
+ // read to either an object or an array.
+ if ( objectRead ) {
+ if ( ! col._setter ) {
+ // Cache the setter function
+ col._setter = _fnSetObjectDataFn( col.mData );
+ }
+ col._setter( d, contents );
+ }
+ else {
+ d.push( contents );
+ }
}
i++;
@@ -1950,7 +1966,9 @@
}
}
- /* Row callback functions - might want to manipulate the row */
+ // Row callback functions - might want to manipulate the row
+ // iRowCount and j are not currently documented. Are they at all
+ // useful?
_fnCallbackFire( oSettings, 'aoRowCallback', null,
[nRow, aoData._aData, iRowCount, j] );
@@ -2695,13 +2713,20 @@
_fnDraw( settings );
}
};
+
+ var searchDelay = settings.searchDelay !== null ?
+ settings.searchDelay :
+ _fnDataSource( settings ) === 'ssp' ?
+ 400 :
+ 0;
+
var jqFilter = $('input', filter)
.val( previousSearch.sSearch )
.attr( 'placeholder', language.sSearchPlaceholder )
.bind(
'keyup.DT search.DT input.DT paste.DT cut.DT',
- _fnDataSource( settings ) === 'ssp' ?
- _fnThrottle( searchFn, 400 ):
+ searchDelay ?
+ _fnThrottle( searchFn, searchDelay ) :
searchFn
)
.bind( 'keypress.DT', function(e) {
@@ -2924,9 +2949,12 @@
* ^(?=.*?\bone\b)(?=.*?\btwo three\b)(?=.*?\bfour\b).*$
*/
var a = $.map( search.match( /"[^"]+"|[^ ]+/g ) || '', function ( word ) {
- return word.charAt(0) === '"' ?
- word.match( /^"(.*)"$/ )[1] :
- word;
+ if ( word.charAt(0) === '"' ) {
+ var m = word.match( /^"(.*)"$/ );
+ word = m ? m[1] : word;
+ }
+
+ return word.replace('"', '');
} );
search = '^(?=.*?'+a.join( ')(?=.*?' )+').*$';
@@ -4168,7 +4196,7 @@
*/
function _fnThrottle( fn, freq ) {
var
- frequency = freq || 200,
+ frequency = freq !== undefined ? freq : 200,
last,
timer;
@@ -4409,11 +4437,15 @@
iCol = aDataSort[k];
sType = aoColumns[ iCol ].sType || 'string';
+ if ( nestedSort[i]._idx === undefined ) {
+ nestedSort[i]._idx = $.inArray( nestedSort[i][1], aoColumns[iCol].asSorting );
+ }
+
aSort.push( {
src: srcCol,
col: iCol,
dir: nestedSort[i][1],
- index: nestedSort[i][2],
+ index: nestedSort[i]._idx,
type: sType,
formatter: DataTable.ext.type.order[ sType+"-pre" ]
} );
@@ -4616,13 +4648,17 @@
var sorting = settings.aaSorting;
var asSorting = col.asSorting;
var nextSortIdx;
- var next = function ( a ) {
+ var next = function ( a, overflow ) {
var idx = a._idx;
if ( idx === undefined ) {
idx = $.inArray( a[1], asSorting );
}
- return idx+1 >= asSorting.length ? 0 : idx+1;
+ return idx+1 < asSorting.length ?
+ idx+1 :
+ overflow ?
+ null :
+ 0;
};
// Convert to 2D array if needed
@@ -4637,10 +4673,15 @@
if ( sortIdx !== -1 ) {
// Yes, modify the sort
- nextSortIdx = next( sorting[sortIdx] );
+ nextSortIdx = next( sorting[sortIdx], true );
- sorting[sortIdx][1] = asSorting[ nextSortIdx ];
- sorting[sortIdx]._idx = nextSortIdx;
+ if ( nextSortIdx === null ) {
+ sorting.splice( sortIdx, 1 );
+ }
+ else {
+ sorting[sortIdx][1] = asSorting[ nextSortIdx ];
+ sorting[sortIdx]._idx = nextSortIdx;
+ }
}
else {
// No sort on this column yet
@@ -5119,7 +5160,7 @@
len = settings._iDisplayLength;
/* If we have space to show extra rows (backing up from the end point - then do so */
- if ( end === settings.fnRecordsDisplay() )
+ if (start >= end)
{
start = end - len;
}
@@ -6095,6 +6136,7 @@
"fnStateLoadCallback",
"fnStateSaveCallback",
"renderer",
+ "searchDelay",
[ "iCookieDuration", "iStateDuration" ], // backwards compat
[ "oSearch", "oPreviousSearch" ],
[ "aoSearchCols", "aoPreSearchCols" ],
@@ -6725,8 +6767,10 @@
}
for ( i=0, ien=context.length ; i= 0 ?
selInt : // Count from left
columns.length + selInt // Count from right (+ because its a negative value)
];
}
- else {
- var match = typeof s === 'string' ?
- s.match( __re_column_selector ) :
- '';
+
+ // Selector = function
+ if ( typeof s === 'function' ) {
+ var rows = _selector_row_indexes( settings, opts );
- if ( match ) {
- switch( match[2] ) {
- case 'visIdx':
- case 'visible':
- var idx = parseInt( match[1], 10 );
- // Visible index given, convert to column index
- if ( idx < 0 ) {
- // Counting from the right
- var visColumns = $.map( columns, function (col,i) {
- return col.bVisible ? i : null;
- } );
- return [ visColumns[ visColumns.length + idx ] ];
- }
- // Counting from the left
- return [ _fnVisibleToColumnIndex( settings, idx ) ];
+ return $.map( columns, function (col, idx) {
+ return s(
+ idx,
+ __columnData( settings, idx, 0, 0, rows ),
+ nodes[ idx ]
+ ) ? idx : null;
+ } );
+ }
- case 'name':
- // match by name. `names` is column index complete and in order
- return $.map( names, function (name, i) {
- return name === match[1] ? i : null;
+ // jQuery or string selector
+ var match = typeof s === 'string' ?
+ s.match( __re_column_selector ) :
+ '';
+
+ if ( match ) {
+ switch( match[2] ) {
+ case 'visIdx':
+ case 'visible':
+ var idx = parseInt( match[1], 10 );
+ // Visible index given, convert to column index
+ if ( idx < 0 ) {
+ // Counting from the right
+ var visColumns = $.map( columns, function (col,i) {
+ return col.bVisible ? i : null;
} );
- }
- }
- else {
- // jQuery selector on the TH elements for the columns
- return $( nodes )
- .filter( s )
- .map( function () {
- return $.inArray( this, nodes ); // `nodes` is column index complete and in order
- } )
- .toArray();
+ return [ visColumns[ visColumns.length + idx ] ];
+ }
+ // Counting from the left
+ return [ _fnVisibleToColumnIndex( settings, idx ) ];
+
+ case 'name':
+ // match by name. `names` is column index complete and in order
+ return $.map( names, function (name, i) {
+ return name === match[1] ? i : null;
+ } );
}
}
+ else {
+ // jQuery selector on the TH elements for the columns
+ return $( nodes )
+ .filter( s )
+ .map( function () {
+ return $.inArray( this, nodes ); // `nodes` is column index complete and in order
+ } )
+ .toArray();
+ }
} );
};
-
-
-
var __setColumnVis = function ( settings, column, vis, recalc ) {
var
cols = settings.aoColumns,
@@ -8167,12 +8241,13 @@
*
*/
_api_registerPlural( 'columns().data()', 'column().data()', function () {
- return this.iterator( 'column-rows', function ( settings, column, i, j, rows ) {
- var a = [];
- for ( var row=0, ien=rows.length ; row ')
.addClass( classes.sSortJUIWrapper )
.append( cell.contents() )
@@ -14226,6 +14373,8 @@
return;
}
+ var colIdx = column.idx;
+
cell
.removeClass( classes.sSortAsc +" "+classes.sSortDesc )
.addClass( columns[ colIdx ] == 'asc' ?
diff --git a/src/sunstone/public/bower_components/datatables/media/js/jquery.dataTables.min.js b/src/sunstone/public/bower_components/datatables/media/js/jquery.dataTables.min.js
index 3248d74907..9b72ba30c0 100644
--- a/src/sunstone/public/bower_components/datatables/media/js/jquery.dataTables.min.js
+++ b/src/sunstone/public/bower_components/datatables/media/js/jquery.dataTables.min.js
@@ -1,155 +1,157 @@
-/*! DataTables 1.10.2
+/*! DataTables 1.10.3
* ©2008-2014 SpryMedia Ltd - datatables.net/license
*/
-(function(za,O,l){var N=function(h){function T(a){var b,c,d={};h.each(a,function(e){if((b=e.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(b[1]+" "))c=e.replace(b[0],b[2].toLowerCase()),d[c]=e,"o"===b[1]&&T(a[e])});a._hungarianMap=d}function G(a,b,c){a._hungarianMap||T(a);var d;h.each(b,function(e){d=a._hungarianMap[e];if(d!==l&&(c||b[d]===l))"o"===d.charAt(0)?(b[d]||(b[d]={}),h.extend(!0,b[d],b[e]),G(a[d],b[d],c)):b[d]=b[e]})}function N(a){var b=p.defaults.oLanguage,c=a.sZeroRecords;
-!a.sEmptyTable&&(c&&"No data available in table"===b.sEmptyTable)&&D(a,a,"sZeroRecords","sEmptyTable");!a.sLoadingRecords&&(c&&"Loading..."===b.sLoadingRecords)&&D(a,a,"sZeroRecords","sLoadingRecords");a.sInfoThousands&&(a.sThousands=a.sInfoThousands);(a=a.sDecimal)&&cb(a)}function db(a){w(a,"ordering","bSort");w(a,"orderMulti","bSortMulti");w(a,"orderClasses","bSortClasses");w(a,"orderCellsTop","bSortCellsTop");w(a,"order","aaSorting");w(a,"orderFixed","aaSortingFixed");w(a,"paging","bPaginate");
-w(a,"pagingType","sPaginationType");w(a,"pageLength","iDisplayLength");w(a,"searching","bFilter");if(a=a.aoSearchCols)for(var b=0,c=a.length;b").css({position:"absolute",top:0,left:0,height:1,width:1,overflow:"hidden"}).append(h("").css({position:"absolute",top:1,left:1,width:100,
-overflow:"scroll"}).append(h('').css({width:"100%",height:10}))).appendTo("body"),c=b.find(".test");a.bScrollOversize=100===c[0].offsetWidth;a.bScrollbarLeft=1!==c.offset().left;b.remove()}function gb(a,b,c,d,e,f){var g,j=!1;c!==l&&(g=c,j=!0);for(;d!==e;)a.hasOwnProperty(d)&&(g=j?b(g,a[d],d,a):a[d],j=!0,d+=f);return g}function Aa(a,b){var c=p.defaults.column,d=a.aoColumns.length,c=h.extend({},p.models.oColumn,c,{nTh:b?b:O.createElement("th"),sTitle:c.sTitle?c.sTitle:b?b.innerHTML:
-"",aDataSort:c.aDataSort?c.aDataSort:[d],mData:c.mData?c.mData:d,idx:d});a.aoColumns.push(c);c=a.aoPreSearchCols;c[d]=h.extend({},p.models.oSearch,c[d]);fa(a,d,null)}function fa(a,b,c){var b=a.aoColumns[b],d=a.oClasses,e=h(b.nTh);if(!b.sWidthOrig){b.sWidthOrig=e.attr("width")||null;var f=(e.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);f&&(b.sWidthOrig=f[1])}c!==l&&null!==c&&(eb(c),G(p.defaults.column,c),c.mDataProp!==l&&!c.mData&&(c.mData=c.mDataProp),c.sType&&(b._sManualType=c.sType),c.className&&
-!c.sClass&&(c.sClass=c.className),h.extend(b,c),D(b,c,"sWidth","sWidthOrig"),"number"===typeof c.iDataSort&&(b.aDataSort=[c.iDataSort]),D(b,c,"aDataSort"));var g=b.mData,j=U(g),i=b.mRender?U(b.mRender):null,c=function(a){return"string"===typeof a&&-1!==a.indexOf("@")};b._bAttrSrc=h.isPlainObject(g)&&(c(g.sort)||c(g.type)||c(g.filter));b.fnGetData=function(a,b,c){var d=j(a,b,l,c);return i&&b?i(d,b,a,c):d};b.fnSetData=function(a,b,c){return Ba(g)(a,b,c)};a.oFeatures.bSort||(b.bSortable=!1,e.addClass(d.sSortableNone));
-a=-1!==h.inArray("asc",b.asSorting);c=-1!==h.inArray("desc",b.asSorting);!b.bSortable||!a&&!c?(b.sSortingClass=d.sSortableNone,b.sSortingClassJUI=""):a&&!c?(b.sSortingClass=d.sSortableAsc,b.sSortingClassJUI=d.sSortJUIAscAllowed):!a&&c?(b.sSortingClass=d.sSortableDesc,b.sSortingClassJUI=d.sSortJUIDescAllowed):(b.sSortingClass=d.sSortable,b.sSortingClassJUI=d.sSortJUI)}function V(a){if(!1!==a.oFeatures.bAutoWidth){var b=a.aoColumns;Ca(a);for(var c=0,d=b.length;co[f])d(m.length+
-o[f],n);else if("string"===typeof o[f]){j=0;for(i=m.length;jb&&a[e]--; -1!=d&&c===l&&a.splice(d,1)}function la(a,b,c,d){var e=a.aoData[b],f;if("dom"===c||(!c||"auto"===c)&&"dom"===e.src)e._aData=
-ia(a,e).data;else{var g=e.anCells,j;if(g){c=0;for(f=g.length;c ").appendTo(g));b=0;for(c=m.length;btr").attr("role","row");h(g).find(">tr>th, >tr>td").addClass(n.sHeaderTH);h(j).find(">tr>th, >tr>td").addClass(n.sFooterTH);if(null!==j){a=a.aoFooter[0];b=0;for(c=a.length;b=a.fnRecordsDisplay()?0:g,a.iInitDisplayStart=-1);var g=a._iDisplayStart,n=a.fnDisplayEnd();if(a.bDeferLoading)a.bDeferLoading=!1,a.iDraw++,B(a,!1);else if(j){if(!a.bDestroying&&!jb(a))return}else a.iDraw++;if(0!==i.length){f=j?a.aoData.length:n;for(j=j?0:g;j",{"class":e?d[0]:""}).append(h(" ",{valign:"top",colSpan:Z(a),"class":a.oClasses.sRowEmpty}).html(c))[0];u(a,"aoHeaderCallback","header",[h(a.nTHead).children("tr")[0],Ha(a),g,n,i]);u(a,"aoFooterCallback","footer",[h(a.nTFoot).children("tr")[0],
-Ha(a),g,n,i]);d=h(a.nTBody);d.children().detach();d.append(h(b));u(a,"aoDrawCallback","draw",[a]);a.bSorted=!1;a.bFiltered=!1;a.bDrawing=!1}}function L(a,b){var c=a.oFeatures,d=c.bFilter;c.bSort&&kb(a);d?ca(a,a.oPreviousSearch):a.aiDisplay=a.aiDisplayMaster.slice();!0!==b&&(a._iDisplayStart=0);a._drawHold=b;K(a);a._drawHold=!1}function lb(a){var b=a.oClasses,c=h(a.nTable),c=h("").insertBefore(c),d=a.oFeatures,e=h("",{id:a.sTableId+"_wrapper","class":b.sWrapper+(a.nTFoot?"":" "+b.sNoFooter)});
-a.nHolding=c[0];a.nTableWrapper=e[0];a.nTableReinsertBefore=a.nTable.nextSibling;for(var f=a.sDom.split(""),g,j,i,n,m,o,k=0;k ")[0];n=f[k+1];if("'"==n||'"'==n){m="";for(o=2;f[k+o]!=n;)m+=f[k+o],o++;"H"==m?m=b.sJUIHeader:"F"==m&&(m=b.sJUIFooter);-1!=m.indexOf(".")?(n=m.split("."),i.id=n[0].substr(1,n[0].length-1),i.className=n[1]):"#"==m.charAt(0)?i.id=m.substr(1,m.length-1):i.className=m;k+=o}e.append(i);e=h(i)}else if(">"==j)e=e.parent();else if("l"==
-j&&d.bPaginate&&d.bLengthChange)g=mb(a);else if("f"==j&&d.bFilter)g=nb(a);else if("r"==j&&d.bProcessing)g=ob(a);else if("t"==j)g=pb(a);else if("i"==j&&d.bInfo)g=qb(a);else if("p"==j&&d.bPaginate)g=rb(a);else if(0!==p.ext.feature.length){i=p.ext.feature;o=0;for(n=i.length;o ',j=d.sSearch,j=j.match(/_INPUT_/)?j.replace("_INPUT_",g):j+g,b=h("",
-{id:!f.f?c+"_filter":null,"class":b.sFilter}).append(h("").append(j)),f=function(){var b=!this.value?"":this.value;b!=e.sSearch&&(ca(a,{sSearch:b,bRegex:e.bRegex,bSmart:e.bSmart,bCaseInsensitive:e.bCaseInsensitive}),a._iDisplayStart=0,K(a))},i=h("input",b).val(e.sSearch).attr("placeholder",d.sSearchPlaceholder).bind("keyup.DT search.DT input.DT paste.DT cut.DT","ssp"===z(a)?Ma(f,400):f).bind("keypress.DT",function(a){if(13==a.keyCode)return!1}).attr("aria-controls",c);h(a.nTable).on("search.dt.DT",
-function(b,c){if(a===c)try{i[0]!==O.activeElement&&i.val(e.sSearch)}catch(d){}});return b[0]}function ca(a,b,c){var d=a.oPreviousSearch,e=a.aoPreSearchCols,f=function(a){d.sSearch=a.sSearch;d.bRegex=a.bRegex;d.bSmart=a.bSmart;d.bCaseInsensitive=a.bCaseInsensitive};Da(a);if("ssp"!=z(a)){ub(a,b.sSearch,c,b.bEscapeRegex!==l?!b.bEscapeRegex:b.bRegex,b.bSmart,b.bCaseInsensitive);f(b);for(b=0;b=b.length)a.aiDisplay=f.slice();else{if(g||c||e.length>b.length||0!==b.indexOf(e)||a.bSorted)a.aiDisplay=f.slice();b=a.aiDisplay;for(c=b.length-1;0<=c;c--)d.test(a.aoData[b[c]]._sFilterRow)||b.splice(c,1)}}function Na(a,b,c,d){a=b?a:Oa(a);c&&(a="^(?=.*?"+h.map(a.match(/"[^"]+"|[^ ]+/g)||"",function(a){return'"'===a.charAt(0)?a.match(/^"(.*)"$/)[1]:a}).join(")(?=.*?")+").*$");return RegExp(a,d?"i":"")}function Oa(a){return a.replace(Vb,"\\$1")}function xb(a){var b=
-a.aoColumns,c,d,e,f,g,j,i,h,m=p.ext.type.search;c=!1;d=0;for(f=a.aoData.length;d",{"class":a.oClasses.sInfo,id:!c?b+"_info":null});c||(a.aoDrawCallback.push({fn:Ab,sName:"information"}),d.attr("role","status").attr("aria-live","polite"),h(a.nTable).attr("aria-describedby",b+"_info"));return d[0]}function Ab(a){var b=a.aanFeatures.i;if(0!==b.length){var c=
-a.oLanguage,d=a._iDisplayStart+1,e=a.fnDisplayEnd(),f=a.fnRecordsTotal(),g=a.fnRecordsDisplay(),j=g?c.sInfo:c.sInfoEmpty;g!==f&&(j+=" "+c.sInfoFiltered);j+=c.sInfoPostFix;j=Bb(a,j);c=c.fnInfoCallback;null!==c&&(j=c.call(a.oInstance,a,d,e,f,g,j));h(b).html(j)}}function Bb(a,b){var c=a.fnFormatNumber,d=a._iDisplayStart+1,e=a._iDisplayLength,f=a.fnRecordsDisplay(),g=-1===e;return b.replace(/_START_/g,c.call(a,d)).replace(/_END_/g,c.call(a,a.fnDisplayEnd())).replace(/_MAX_/g,c.call(a,a.fnRecordsTotal())).replace(/_TOTAL_/g,
-c.call(a,f)).replace(/_PAGE_/g,c.call(a,g?1:Math.ceil(d/e))).replace(/_PAGES_/g,c.call(a,g?1:Math.ceil(f/e)))}function ra(a){var b,c,d=a.iInitDisplayStart,e=a.aoColumns,f;c=a.oFeatures;if(a.bInitialised){lb(a);ib(a);ba(a,a.aoHeader);ba(a,a.aoFooter);B(a,!0);c.bAutoWidth&&Ca(a);b=0;for(c=e.length;b",{name:c+"_length","aria-controls":c,"class":b.sLengthSelect}),g=0,j=f.length;g | Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
|---|---|---|---|---|
| Trident | -Internet - Explorer 4.0 | -Win 95+ | -4 | -X | -
| Trident | -Internet - Explorer 5.0 | -Win 95+ | -5 | -C | -
| Trident | -Internet - Explorer 5.5 | -Win 95+ | -5.5 | -A | -
| Trident | -Internet - Explorer 6 | -Win 98+ | -6 | -A | -
| Trident | -Internet Explorer 7 | -Win XP SP2+ | -7 | -A | -
| Trident | -AOL browser (AOL desktop) | -Win XP | -6 | -A | -
| Gecko | -Firefox 1.0 | -Win 98+ / OSX.2+ | -1.7 | -A | -
| Gecko | -Firefox 1.5 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 2.0 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 3.0 | -Win 2k+ / OSX.3+ | -1.9 | -A | -
| Gecko | -Camino 1.0 | -OSX.2+ | -1.8 | -A | -
| Gecko | -Camino 1.5 | -OSX.3+ | -1.8 | -A | -
| Gecko | -Netscape 7.2 | -Win 95+ / Mac OS 8.6-9.2 | -1.7 | -A | -
| Gecko | -Netscape Browser 8 | -Win 98SE+ | -1.7 | -A | -
| Gecko | -Netscape Navigator 9 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Mozilla 1.0 | -Win 95+ / OSX.1+ | -1 | -A | -
| Gecko | -Mozilla 1.1 | -Win 95+ / OSX.1+ | -1.1 | -A | -
| Gecko | -Mozilla 1.2 | -Win 95+ / OSX.1+ | -1.2 | -A | -
| Gecko | -Mozilla 1.3 | -Win 95+ / OSX.1+ | -1.3 | -A | -
| Gecko | -Mozilla 1.4 | -Win 95+ / OSX.1+ | -1.4 | -A | -
| Gecko | -Mozilla 1.5 | -Win 95+ / OSX.1+ | -1.5 | -A | -
| Gecko | -Mozilla 1.6 | -Win 95+ / OSX.1+ | -1.6 | -A | -
| Gecko | -Mozilla 1.7 | -Win 98+ / OSX.1+ | -1.7 | -A | -
| Gecko | -Mozilla 1.8 | -Win 98+ / OSX.1+ | -1.8 | -A | -
| Gecko | -Seamonkey 1.1 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Epiphany 2.20 | -Gnome | -1.8 | -A | -
| Webkit | -Safari 1.2 | -OSX.3 | -125.5 | -A | -
| Webkit | -Safari 1.3 | -OSX.3 | -312.8 | -A | -
| Webkit | -Safari 2.0 | -OSX.4+ | -419.3 | -A | -
| Webkit | -Safari 3.0 | -OSX.4+ | -522.1 | -A | -
| Webkit | -OmniWeb 5.5 | -OSX.4+ | -420 | -A | -
| Webkit | -iPod Touch / iPhone | -iPod | -420.1 | -A | -
| Webkit | -S60 | -S60 | -413 | -A | -
| Presto | -Opera 7.0 | -Win 95+ / OSX.1+ | -- | -A | -
| Presto | -Opera 7.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.0 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 9.0 | -Win 95+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.2 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.5 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera for Wii | -Wii | -- | -A | -
| Presto | -Nokia N800 | -N800 | -- | -A | -
| Presto | -Nintendo DS browser | -Nintendo DS | -8.5 | -C/A1 | -
| KHTML | -Konqureror 3.1 | -KDE 3.1 | -3.1 | -C | -
| KHTML | -Konqureror 3.3 | -KDE 3.3 | -3.3 | -A | -
| KHTML | -Konqureror 3.5 | -KDE 3.5 | -3.5 | -A | -
| Tasman | -Internet Explorer 4.5 | -Mac OS 8-9 | -- | -X | -
| Tasman | -Internet Explorer 5.1 | -Mac OS 7.6-9 | -1 | -C | -
| Tasman | -Internet Explorer 5.2 | -Mac OS 8-X | -1 | -C | -
| Misc | -NetFront 3.1 | -Embedded devices | -- | -C | -
| Misc | -NetFront 3.4 | -Embedded devices | -- | -A | -
| Misc | -Dillo 0.8 | -Embedded devices | -- | -X | -
| Misc | -Links | -Text only | -- | -X | -
| Misc | -Lynx | -Text only | -- | -X | -
| Misc | -IE Mobile | -Windows Mobile 6 | -- | -C | -
| Misc | -PSP browser | -PSP | -- | -C | -
| Other browsers | -All others | -- | -- | -U | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
| id | -name | -phone | -city | -zip | -state | -country | -zip2 | -'.$aRow['id'].' | '; - echo ''.$aRow['name'].' | '; - echo ''.$aRow['phone'].' | '; - echo ''.$aRow['email'].' | '; - echo ''.$aRow['city'].' | '; - echo ''.$aRow['zip'].' | '; - echo ''.$aRow['state'].' | '; - echo ''.$aRow['country'].' | '; - echo ''.$aRow['zip2'].' | '; - echo ''; - } -?> - -
|---|
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
|---|---|---|---|---|
| Trident | -Internet - Explorer 4.0 | -Win 95+ | -4 | -X | -
| Trident | -Internet - Explorer 5.0 | -Win 95+ | -5 | -C | -
| Trident | -Internet - Explorer 5.5 | -Win 95+ | -5.5 | -A | -
| Trident | -Internet - Explorer 6 | -Win 98+ | -6 | -A | -
| Trident | -Internet Explorer 7 | -Win XP SP2+ | -7 | -A | -
| Trident | -AOL browser (AOL desktop) | -Win XP | -6 | -A | -
| Gecko | -Firefox 1.0 | -Win 98+ / OSX.2+ | -1.7 | -A | -
| Gecko | -Firefox 1.5 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 2.0 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 3.0 | -Win 2k+ / OSX.3+ | -1.9 | -A | -
| Gecko | -Camino 1.0 | -OSX.2+ | -1.8 | -A | -
| Gecko | -Camino 1.5 | -OSX.3+ | -1.8 | -A | -
| Gecko | -Netscape 7.2 | -Win 95+ / Mac OS 8.6-9.2 | -1.7 | -A | -
| Gecko | -Netscape Browser 8 | -Win 98SE+ | -1.7 | -A | -
| Gecko | -Netscape Navigator 9 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Mozilla 1.0 | -Win 95+ / OSX.1+ | -1 | -A | -
| Gecko | -Mozilla 1.1 | -Win 95+ / OSX.1+ | -1.1 | -A | -
| Gecko | -Mozilla 1.2 | -Win 95+ / OSX.1+ | -1.2 | -A | -
| Gecko | -Mozilla 1.3 | -Win 95+ / OSX.1+ | -1.3 | -A | -
| Gecko | -Mozilla 1.4 | -Win 95+ / OSX.1+ | -1.4 | -A | -
| Gecko | -Mozilla 1.5 | -Win 95+ / OSX.1+ | -1.5 | -A | -
| Gecko | -Mozilla 1.6 | -Win 95+ / OSX.1+ | -1.6 | -A | -
| Gecko | -Mozilla 1.7 | -Win 98+ / OSX.1+ | -1.7 | -A | -
| Gecko | -Mozilla 1.8 | -Win 98+ / OSX.1+ | -1.8 | -A | -
| Gecko | -Seamonkey 1.1 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Epiphany 2.20 | -Gnome | -1.8 | -A | -
| Webkit | -Safari 1.2 | -OSX.3 | -125.5 | -A | -
| Webkit | -Safari 1.3 | -OSX.3 | -312.8 | -A | -
| Webkit | -Safari 2.0 | -OSX.4+ | -419.3 | -A | -
| Webkit | -Safari 3.0 | -OSX.4+ | -522.1 | -A | -
| Webkit | -OmniWeb 5.5 | -OSX.4+ | -420 | -A | -
| Webkit | -iPod Touch / iPhone | -iPod | -420.1 | -A | -
| Webkit | -S60 | -S60 | -413 | -A | -
| Presto | -Opera 7.0 | -Win 95+ / OSX.1+ | -- | -A | -
| Presto | -Opera 7.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.0 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 9.0 | -Win 95+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.2 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.5 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera for Wii | -Wii | -- | -A | -
| Presto | -Nokia N800 | -N800 | -- | -A | -
| Presto | -Nintendo DS browser | -Nintendo DS | -8.5 | -C/A1 | -
| KHTML | -Konqureror 3.1 | -KDE 3.1 | -3.1 | -C | -
| KHTML | -Konqureror 3.3 | -KDE 3.3 | -3.3 | -A | -
| KHTML | -Konqureror 3.5 | -KDE 3.5 | -3.5 | -A | -
| Tasman | -Internet Explorer 4.5 | -Mac OS 8-9 | -- | -X | -
| Tasman | -Internet Explorer 5.1 | -Mac OS 7.6-9 | -1 | -C | -
| Tasman | -Internet Explorer 5.2 | -Mac OS 8-X | -1 | -C | -
| Misc | -NetFront 3.1 | -Embedded devices | -- | -C | -
| Misc | -NetFront 3.4 | -Embedded devices | -- | -A | -
| Misc | -Dillo 0.8 | -Embedded devices | -- | -X | -
| Misc | -Links | -Text only | -- | -X | -
| Misc | -Lynx | -Text only | -- | -X | -
| Misc | -IE Mobile | -Windows Mobile 6 | -- | -C | -
| Misc | -PSP browser | -PSP | -- | -C | -
| Other browsers | -All others | -- | -- | -U | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
|---|---|---|---|---|
| Trident | -Internet - Explorer 4.0 | -Win 95+ | -4 | -X | -
| Trident | -Internet - Explorer 5.0 | -Win 95+ | -5 | -C | -
| Trident | -Internet - Explorer 5.5 | -Win 95+ | -5.5 | -A | -
| Trident | -Internet - Explorer 6 | -Win 98+ | -6 | -A | -
| Trident | -Internet Explorer 7 | -Win XP SP2+ | -7 | -A | -
| Trident | -AOL browser (AOL desktop) | -Win XP | -6 | -A | -
| Gecko | -Firefox 1.0 | -Win 98+ / OSX.2+ | -1.7 | -A | -
| Gecko | -Firefox 1.5 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 2.0 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 3.0 | -Win 2k+ / OSX.3+ | -1.9 | -A | -
| Gecko | -Camino 1.0 | -OSX.2+ | -1.8 | -A | -
| Gecko | -Camino 1.5 | -OSX.3+ | -1.8 | -A | -
| Gecko | -Netscape 7.2 | -Win 95+ / Mac OS 8.6-9.2 | -1.7 | -A | -
| Gecko | -Netscape Browser 8 | -Win 98SE+ | -1.7 | -A | -
| Gecko | -Netscape Navigator 9 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Mozilla 1.0 | -Win 95+ / OSX.1+ | -1 | -A | -
| Gecko | -Mozilla 1.1 | -Win 95+ / OSX.1+ | -1.1 | -A | -
| Gecko | -Mozilla 1.2 | -Win 95+ / OSX.1+ | -1.2 | -A | -
| Gecko | -Mozilla 1.3 | -Win 95+ / OSX.1+ | -1.3 | -A | -
| Gecko | -Mozilla 1.4 | -Win 95+ / OSX.1+ | -1.4 | -A | -
| Gecko | -Mozilla 1.5 | -Win 95+ / OSX.1+ | -1.5 | -A | -
| Gecko | -Mozilla 1.6 | -Win 95+ / OSX.1+ | -1.6 | -A | -
| Gecko | -Mozilla 1.7 | -Win 98+ / OSX.1+ | -1.7 | -A | -
| Gecko | -Mozilla 1.8 | -Win 98+ / OSX.1+ | -1.8 | -A | -
| Gecko | -Seamonkey 1.1 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Epiphany 2.20 | -Gnome | -1.8 | -A | -
| Webkit | -Safari 1.2 | -OSX.3 | -125.5 | -A | -
| Webkit | -Safari 1.3 | -OSX.3 | -312.8 | -A | -
| Webkit | -Safari 2.0 | -OSX.4+ | -419.3 | -A | -
| Webkit | -Safari 3.0 | -OSX.4+ | -522.1 | -A | -
| Webkit | -OmniWeb 5.5 | -OSX.4+ | -420 | -A | -
| Webkit | -iPod Touch / iPhone | -iPod | -420.1 | -A | -
| Webkit | -S60 | -S60 | -413 | -A | -
| Presto | -Opera 7.0 | -Win 95+ / OSX.1+ | -- | -A | -
| Presto | -Opera 7.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.0 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 9.0 | -Win 95+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.2 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.5 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera for Wii | -Wii | -- | -A | -
| Presto | -Nokia N800 | -N800 | -- | -A | -
| Presto | -Nintendo DS browser | -Nintendo DS | -8.5 | -C/A1 | -
| KHTML | -Konqureror 3.1 | -KDE 3.1 | -3.1 | -C | -
| KHTML | -Konqureror 3.3 | -KDE 3.3 | -3.3 | -A | -
| KHTML | -Konqureror 3.5 | -KDE 3.5 | -3.5 | -A | -
| Tasman | -Internet Explorer 4.5 | -Mac OS 8-9 | -- | -X | -
| Tasman | -Internet Explorer 5.1 | -Mac OS 7.6-9 | -1 | -C | -
| Tasman | -Internet Explorer 5.2 | -Mac OS 8-X | -1 | -C | -
| Misc | -NetFront 3.1 | -Embedded devices | -- | -C | -
| Misc | -NetFront 3.4 | -Embedded devices | -- | -A | -
| Misc | -Dillo 0.8 | -Embedded devices | -- | -X | -
| Misc | -Links | -Text only | -- | -X | -
| Misc | -Lynx | -Text only | -- | -X | -
| Misc | -IE Mobile | -Windows Mobile 6 | -- | -C | -
| Misc | -PSP browser | -PSP | -- | -C | -
| Other browsers | -All others | -- | -- | -U | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
| Rendering engine | -Browser details | -CSS grade | -||
|---|---|---|---|---|
| Browser | -Platform(s) | -Engine version | -CSS grade | -|
| Trident | -Internet - Explorer 4.0 | -Win 95+ | -4 | -X | -
| Trident | -Internet - Explorer 5.0 | -Win 95+ | -5 | -C | -
| Trident | -Internet - Explorer 5.5 | -Win 95+ | -5.5 | -A | -
| Trident | -Internet - Explorer 6 | -Win 98+ | -6 | -A | -
| Trident | -Internet Explorer 7 | -Win XP SP2+ | -7 | -A | -
| Trident | -AOL browser (AOL desktop) | -Win XP | -6 | -A | -
| Gecko | -Firefox 1.0 | -Win 98+ / OSX.2+ | -1.7 | -A | -
| Gecko | -Firefox 1.5 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 2.0 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 3.0 | -Win 2k+ / OSX.3+ | -1.9 | -A | -
| Gecko | -Camino 1.0 | -OSX.2+ | -1.8 | -A | -
| Gecko | -Camino 1.5 | -OSX.3+ | -1.8 | -A | -
| Gecko | -Netscape 7.2 | -Win 95+ / Mac OS 8.6-9.2 | -1.7 | -A | -
| Gecko | -Netscape Browser 8 | -Win 98SE+ | -1.7 | -A | -
| Gecko | -Netscape Navigator 9 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Mozilla 1.0 | -Win 95+ / OSX.1+ | -1 | -A | -
| Gecko | -Mozilla 1.1 | -Win 95+ / OSX.1+ | -1.1 | -A | -
| Gecko | -Mozilla 1.2 | -Win 95+ / OSX.1+ | -1.2 | -A | -
| Gecko | -Mozilla 1.3 | -Win 95+ / OSX.1+ | -1.3 | -A | -
| Gecko | -Mozilla 1.4 | -Win 95+ / OSX.1+ | -1.4 | -A | -
| Gecko | -Mozilla 1.5 | -Win 95+ / OSX.1+ | -1.5 | -A | -
| Gecko | -Mozilla 1.6 | -Win 95+ / OSX.1+ | -1.6 | -A | -
| Gecko | -Mozilla 1.7 | -Win 98+ / OSX.1+ | -1.7 | -A | -
| Gecko | -Mozilla 1.8 | -Win 98+ / OSX.1+ | -1.8 | -A | -
| Gecko | -Seamonkey 1.1 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Epiphany 2.20 | -Gnome | -1.8 | -A | -
| Webkit | -Safari 1.2 | -OSX.3 | -125.5 | -A | -
| Webkit | -Safari 1.3 | -OSX.3 | -312.8 | -A | -
| Webkit | -Safari 2.0 | -OSX.4+ | -419.3 | -A | -
| Webkit | -Safari 3.0 | -OSX.4+ | -522.1 | -A | -
| Webkit | -OmniWeb 5.5 | -OSX.4+ | -420 | -A | -
| Webkit | -iPod Touch / iPhone | -iPod | -420.1 | -A | -
| Webkit | -S60 | -S60 | -413 | -A | -
| Presto | -Opera 7.0 | -Win 95+ / OSX.1+ | -- | -A | -
| Presto | -Opera 7.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.0 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 9.0 | -Win 95+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.2 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.5 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera for Wii | -Wii | -- | -A | -
| Presto | -Nokia N800 | -N800 | -- | -A | -
| Presto | -Nintendo DS browser | -Nintendo DS | -8.5 | -C/A1 | -
| KHTML | -Konqureror 3.1 | -KDE 3.1 | -3.1 | -C | -
| KHTML | -Konqureror 3.3 | -KDE 3.3 | -3.3 | -A | -
| KHTML | -Konqureror 3.5 | -KDE 3.5 | -3.5 | -A | -
| Tasman | -Internet Explorer 4.5 | -Mac OS 8-9 | -- | -X | -
| Tasman | -Internet Explorer 5.1 | -Mac OS 7.6-9 | -1 | -C | -
| Tasman | -Internet Explorer 5.2 | -Mac OS 8-X | -1 | -C | -
| Misc | -NetFront 3.1 | -Embedded devices | -- | -C | -
| Misc | -NetFront 3.4 | -Embedded devices | -- | -A | -
| Misc | -Dillo 0.8 | -Embedded devices | -- | -X | -
| Misc | -Links | -Text only | -- | -X | -
| Misc | -Lynx | -Text only | -- | -X | -
| Misc | -IE Mobile | -Windows Mobile 6 | -- | -C | -
| Misc | -PSP browser | -PSP | -- | -C | -
| Other browsers | -All others | -- | -- | -U | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
|---|---|---|---|---|
| Trident | -testsearchstring html & entity |
- Win 95+ | -4 | -X | -
| Trident | -Internet - Explorer 5.0 | -Win 95+ | -5 | -C | -
| Trident | -Internet - Explorer 5.5 | -Win 95+ | -5.5 | -A | -
| Trident | -Internet - Explorer 6 | -Win 98+ | -6 | -A | -
| Trident | -Internet Explorer 7 | -Win XP SP2+ | -7 | -A | -
| Trident | -AOL browser (AOL desktop) | -Win XP | -6 | -A | -
| Gecko | -Firefox 1.0 | -Win 98+ / OSX.2+ | -1.7 | -A | -
| Gecko | -Firefox 1.5 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 2.0 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 3.0 | -Win 2k+ / OSX.3+ | -1.9 | -A | -
| Gecko | -Camino 1.0 | -OSX.2+ | -1.8 | -A | -
| Gecko | -Camino 1.5 | -OSX.3+ | -1.8 | -A | -
| Gecko | -Netscape 7.2 | -Win 95+ / Mac OS 8.6-9.2 | -1.7 | -A | -
| Gecko | -Netscape Browser 8 | -Win 98SE+ | -1.7 | -A | -
| Gecko | -Netscape Navigator 9 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Mozilla 1.0 | -Win 95+ / OSX.1+ | -1 | -A | -
| Gecko | -Mozilla 1.1 | -Win 95+ / OSX.1+ | -1.1 | -A | -
| Gecko | -Mozilla 1.2 | -Win 95+ / OSX.1+ | -1.2 | -A | -
| Gecko | -Mozilla 1.3 | -Win 95+ / OSX.1+ | -1.3 | -A | -
| Gecko | -Mozilla 1.4 | -Win 95+ / OSX.1+ | -1.4 | -A | -
| Gecko | -Mozilla 1.5 | -Win 95+ / OSX.1+ | -1.5 | -A | -
| Gecko | -Mozilla 1.6 | -Win 95+ / OSX.1+ | -1.6 | -A | -
| Gecko | -Mozilla 1.7 | -Win 98+ / OSX.1+ | -1.7 | -A | -
| Gecko | -Mozilla 1.8 | -Win 98+ / OSX.1+ | -1.8 | -A | -
| Gecko | -Seamonkey 1.1 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Epiphany 2.20 | -Gnome | -1.8 | -A | -
| Webkit | -Safari 1.2 | -OSX.3 | -125.5 | -A | -
| Webkit | -Safari 1.3 | -OSX.3 | -312.8 | -A | -
| Webkit | -Safari 2.0 | -OSX.4+ | -419.3 | -A | -
| Webkit | -Safari 3.0 | -OSX.4+ | -522.1 | -A | -
| Webkit | -OmniWeb 5.5 | -OSX.4+ | -420 | -A | -
| Webkit | -iPod Touch / iPhone | -iPod | -420.1 | -A | -
| Webkit | -S60 | -S60 | -413 | -A | -
| Presto | -Opera 7.0 | -Win 95+ / OSX.1+ | -- | -A | -
| Presto | -Opera 7.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.0 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 9.0 | -Win 95+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.2 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.5 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera for Wii | -Wii | -- | -A | -
| Presto | -Nokia N800 | -N800 | -- | -A | -
| Presto | -Nintendo DS browser | -Nintendo DS | -8.5 | -C/A1 | -
| KHTML | -Konqureror 3.1 | -KDE 3.1 | -3.1 | -C | -
| KHTML | -Konqureror 3.3 | -KDE 3.3 | -3.3 | -A | -
| KHTML | -Konqureror 3.5 | -KDE 3.5 | -3.5 | -A | -
| Tasman | -Internet Explorer 4.5 | -Mac OS 8-9 | -- | -X | -
| Tasman | -Internet Explorer 5.1 | -Mac OS 7.6-9 | -1 | -C | -
| Tasman | -Internet Explorer 5.2 | -Mac OS 8-X | -1 | -C | -
| Misc | -NetFront 3.1 | -Embedded devices | -- | -C | -
| Misc | -NetFront 3.4 | -Embedded devices | -- | -A | -
| Misc | -Dillo 0.8 | -Embedded devices | -- | -X | -
| Misc | -Links | -Text only | -- | -X | -
| Misc | -Lynx | -Text only | -- | -X | -
| Misc | -IE Mobile | -Windows Mobile 6 | -- | -C | -
| Misc | -PSP browser | -PSP | -- | -C | -
| Other browsers | -All others | -- | -- | -U | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
|
-
-
-
|
-
| 1 | -2 | -3 | -||
|---|---|---|---|---|
| 4 | -5 | -|||
| 6 | -7 | -8 | -||
| 9 | -10 | -|||
| 11 | -12 | -|||
| 1 | -2 | -3 | -||
| 4 | -5 | -|||
| 6 | -||||
| Trident | -Internet - Explorer 4.0 | -Win 95+ | -4 | -X | -
| Trident | -Internet - Explorer 5.0 | -Win 95+ | -5 | -C | -
| Trident | -Internet - Explorer 5.5 | -Win 95+ | -5.5 | -A | -
| Trident | -Internet - Explorer 6 | -Win 98+ | -6 | -A | -
| Trident | -Internet Explorer 7 | -Win XP SP2+ | -7 | -A | -
| Trident | -AOL browser (AOL desktop) | -Win XP | -6 | -A | -
| Gecko | -Firefox 1.0 | -Win 98+ / OSX.2+ | -1.7 | -A | -
| Gecko | -Firefox 1.5 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 2.0 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 3.0 | -Win 2k+ / OSX.3+ | -1.9 | -A | -
| Gecko | -Camino 1.0 | -OSX.2+ | -1.8 | -A | -
| Gecko | -Camino 1.5 | -OSX.3+ | -1.8 | -A | -
| Gecko | -Netscape 7.2 | -Win 95+ / Mac OS 8.6-9.2 | -1.7 | -A | -
| Gecko | -Netscape Browser 8 | -Win 98SE+ | -1.7 | -A | -
| Gecko | -Netscape Navigator 9 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Mozilla 1.0 | -Win 95+ / OSX.1+ | -1 | -A | -
| Gecko | -Mozilla 1.1 | -Win 95+ / OSX.1+ | -1.1 | -A | -
| Gecko | -Mozilla 1.2 | -Win 95+ / OSX.1+ | -1.2 | -A | -
| Gecko | -Mozilla 1.3 | -Win 95+ / OSX.1+ | -1.3 | -A | -
| Gecko | -Mozilla 1.4 | -Win 95+ / OSX.1+ | -1.4 | -A | -
| Gecko | -Mozilla 1.5 | -Win 95+ / OSX.1+ | -1.5 | -A | -
| Gecko | -Mozilla 1.6 | -Win 95+ / OSX.1+ | -1.6 | -A | -
| Gecko | -Mozilla 1.7 | -Win 98+ / OSX.1+ | -1.7 | -A | -
| Gecko | -Mozilla 1.8 | -Win 98+ / OSX.1+ | -1.8 | -A | -
| Gecko | -Seamonkey 1.1 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Epiphany 2.20 | -Gnome | -1.8 | -A | -
| Webkit | -Safari 1.2 | -OSX.3 | -125.5 | -A | -
| Webkit | -Safari 1.3 | -OSX.3 | -312.8 | -A | -
| Webkit | -Safari 2.0 | -OSX.4+ | -419.3 | -A | -
| Webkit | -Safari 3.0 | -OSX.4+ | -522.1 | -A | -
| Webkit | -OmniWeb 5.5 | -OSX.4+ | -420 | -A | -
| Webkit | -iPod Touch / iPhone | -iPod | -420.1 | -A | -
| Webkit | -S60 | -S60 | -413 | -A | -
| Presto | -Opera 7.0 | -Win 95+ / OSX.1+ | -- | -A | -
| Presto | -Opera 7.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.0 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 9.0 | -Win 95+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.2 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.5 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera for Wii | -Wii | -- | -A | -
| Presto | -Nokia N800 | -N800 | -- | -A | -
| Presto | -Nintendo DS browser | -Nintendo DS | -8.5 | -C/A1 | -
| KHTML | -Konqureror 3.1 | -KDE 3.1 | -3.1 | -C | -
| KHTML | -Konqureror 3.3 | -KDE 3.3 | -3.3 | -A | -
| KHTML | -Konqureror 3.5 | -KDE 3.5 | -3.5 | -A | -
| Tasman | -Internet Explorer 4.5 | -Mac OS 8-9 | -- | -X | -
| Tasman | -Internet Explorer 5.1 | -Mac OS 7.6-9 | -1 | -C | -
| Tasman | -Internet Explorer 5.2 | -Mac OS 8-X | -1 | -C | -
| Misc | -NetFront 3.1 | -Embedded devices | -- | -C | -
| Misc | -NetFront 3.4 | -Embedded devices | -- | -A | -
| Misc | -Dillo 0.8 | -Embedded devices | -- | -X | -
| Misc | -Links | -Text only | -- | -X | -
| Misc | -Lynx | -Text only | -- | -X | -
| Misc | -IE Mobile | -Windows Mobile 6 | -- | -C | -
| Misc | -PSP browser | -PSP | -- | -C | -
| Other browsers | -All others | -- | -- | -U | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
|---|---|---|---|---|
| Gecko | -Firefox 1.0 | -Win 98+ / OSX.2+ | -1.7 | -A | -
| Gecko | -Firefox 1.5 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 2.0 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 3.0 | -Win 2k+ / OSX.3+ | -1.9 | -A | -
| Gecko | -Camino 1.0 | -OSX.2+ | -1.8 | -A | -
| Gecko | -Camino 1.5 | -OSX.3+ | -1.8 | -A | -
| Gecko | -Netscape 7.2 | -Win 95+ / Mac OS 8.6-9.2 | -1.7 | -A | -
| Gecko | -Netscape Browser 8 | -Win 98SE+ | -1.7 | -A | -
| Gecko | -Netscape Navigator 9 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Mozilla 1.0 | -Win 95+ / OSX.1+ | -1 | -A | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
|---|---|---|---|---|
| Trident | -Internet - Explorer 4.0 | -Win 95+ | -4 | -X | -
| Trident | -Internet - Explorer 5.0 | -Win 95+ | -5 | -C | -
| Trident | -Internet - Explorer 5.5 | -Win 95+ | -5.5 | -A | -
| Trident | -Internet - Explorer 6 | -Win 98+ | -6 | -A | -
| Trident | -Internet Explorer 7 | -Win XP SP2+ | -7 | -A | -
| Trident | -AOL browser (AOL desktop) | -Win XP | -6 | -A | -
| Gecko | -Firefox 1.0 | -Win 98+ / OSX.2+ | -1.7 | -A | -
| Gecko | -Firefox 1.5 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 2.0 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 3.0 | -Win 2k+ / OSX.3+ | -1.9 | -A | -
| Gecko | -Camino 1.0 | -OSX.2+ | -1.8 | -A | -
| Gecko | -Camino 1.5 | -OSX.3+ | -1.8 | -A | -
| Gecko | -Netscape 7.2 | -Win 95+ / Mac OS 8.6-9.2 | -1.7 | -A | -
| Gecko | -Netscape Browser 8 | -Win 98SE+ | -1.7 | -A | -
| Gecko | -Netscape Navigator 9 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Mozilla 1.0 | -Win 95+ / OSX.1+ | -1 | -A | -
| Gecko | -Mozilla 1.1 | -Win 95+ / OSX.1+ | -1.1 | -A | -
| Gecko | -Mozilla 1.2 | -Win 95+ / OSX.1+ | -1.2 | -A | -
| Gecko | -Mozilla 1.3 | -Win 95+ / OSX.1+ | -1.3 | -A | -
| Gecko | -Mozilla 1.4 | -Win 95+ / OSX.1+ | -1.4 | -A | -
| Gecko | -Mozilla 1.5 | -Win 95+ / OSX.1+ | -1.5 | -A | -
| Gecko | -Mozilla 1.6 | -Win 95+ / OSX.1+ | -1.6 | -A | -
| Gecko | -Mozilla 1.7 | -Win 98+ / OSX.1+ | -1.7 | -A | -
| Gecko | -Mozilla 1.8 | -Win 98+ / OSX.1+ | -1.8 | -A | -
| Gecko | -Seamonkey 1.1 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Epiphany 2.20 | -Gnome | -1.8 | -A | -
| Webkit | -Safari 1.2 | -OSX.3 | -125.5 | -A | -
| Webkit | -Safari 1.3 | -OSX.3 | -312.8 | -A | -
| Webkit | -Safari 2.0 | -OSX.4+ | -419.3 | -A | -
| Webkit | -Safari 3.0 | -OSX.4+ | -522.1 | -A | -
| Webkit | -OmniWeb 5.5 | -OSX.4+ | -420 | -A | -
| Webkit | -iPod Touch / iPhone | -iPod | -420.1 | -A | -
| Webkit | -S60 | -S60 | -413 | -A | -
| Presto | -Opera 7.0 | -Win 95+ / OSX.1+ | -- | -A | -
| Presto | -Opera 7.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.0 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 9.0 | -Win 95+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.2 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.5 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera for Wii | -Wii | -- | -A | -
| Presto | -Nokia N800 | -N800 | -- | -A | -
| Presto | -Nintendo DS browser | -Nintendo DS | -8.5 | -C/A1 | -
| KHTML | -Konqureror 3.1 | -KDE 3.1 | -3.1 | -C | -
| KHTML | -Konqureror 3.3 | -KDE 3.3 | -3.3 | -A | -
| KHTML | -Konqureror 3.5 | -KDE 3.5 | -3.5 | -A | -
| Tasman | -Internet Explorer 4.5 | -Mac OS 8-9 | -- | -X | -
| Tasman | -Internet Explorer 5.1 | -Mac OS 7.6-9 | -1 | -C | -
| Tasman | -Internet Explorer 5.2 | -Mac OS 8-X | -1 | -C | -
| Misc | -NetFront 3.1 | -Embedded devices | -- | -C | -
| Misc | -NetFront 3.4 | -Embedded devices | -- | -A | -
| Misc | -Dillo 0.8 | -Embedded devices | -- | -X | -
| Misc | -Links | -Text only | -- | -X | -
| Misc | -Lynx | -Text only | -- | -X | -
| Misc | -IE Mobile | -Windows Mobile 6 | -- | -C | -
| Misc | -PSP browser | -PSP | -- | -C | -
| Other browsers | -All others | -- | -- | -U | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
|---|---|---|---|---|
| Trident | -Internet - Explorer 4.0 | -Win 95+ | -4 | -X | -
| Trident | -Internet - Explorer 5.0 | -Win 95+ | -5 | -C | -
| Trident | -Internet - Explorer 5.5 | -Win 95+ | -5.5 | -A | -
| Trident | -Internet - Explorer 6 | -Win 98+ | -6 | -A | -
| Trident | -Internet Explorer 7 | -Win XP SP2+ | -7 | -A | -
| Trident | -AOL browser (AOL desktop) | -Win XP | -6 | -A | -
| Gecko | -Firefox 1.0 | -Win 98+ / OSX.2+ | -1.7 | -A | -
| Gecko | -Firefox 1.5 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 2.0 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 3.0 | -Win 2k+ / OSX.3+ | -1.9 | -A | -
| Gecko | -Camino 1.0 | -OSX.2+ | -1.8 | -A | -
| Gecko | -Camino 1.5 | -OSX.3+ | -1.8 | -A | -
| Gecko | -Netscape 7.2 | -Win 95+ / Mac OS 8.6-9.2 | -1.7 | -A | -
| Gecko | -Netscape Browser 8 | -Win 98SE+ | -1.7 | -A | -
| Gecko | -Netscape Navigator 9 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Mozilla 1.0 | -Win 95+ / OSX.1+ | -1 | -A | -
| Gecko | -Mozilla 1.1 | -Win 95+ / OSX.1+ | -1.1 | -A | -
| Gecko | -Mozilla 1.2 | -Win 95+ / OSX.1+ | -1.2 | -A | -
| Gecko | -Mozilla 1.3 | -Win 95+ / OSX.1+ | -1.3 | -A | -
| Gecko | -Mozilla 1.4 | -Win 95+ / OSX.1+ | -1.4 | -A | -
| Gecko | -Mozilla 1.5 | -Win 95+ / OSX.1+ | -1.5 | -A | -
| Gecko | -Mozilla 1.6 | -Win 95+ / OSX.1+ | -1.6 | -A | -
| Gecko | -Mozilla 1.7 | -Win 98+ / OSX.1+ | -1.7 | -A | -
| Gecko | -Mozilla 1.8 | -Win 98+ / OSX.1+ | -1.8 | -A | -
| Gecko | -Seamonkey 1.1 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Epiphany 2.20 | -Gnome | -1.8 | -A | -
| Webkit | -Safari 1.2 | -OSX.3 | -125.5 | -A | -
| Webkit | -Safari 1.3 | -OSX.3 | -312.8 | -A | -
| Webkit | -Safari 2.0 | -OSX.4+ | -419.3 | -A | -
| Webkit | -Safari 3.0 | -OSX.4+ | -522.1 | -A | -
| Webkit | -OmniWeb 5.5 | -OSX.4+ | -420 | -A | -
| Webkit | -iPod Touch / iPhone | -iPod | -420.1 | -A | -
| Webkit | -S60 | -S60 | -413 | -A | -
| Presto | -Opera 7.0 | -Win 95+ / OSX.1+ | -- | -A | -
| Presto | -Opera 7.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.0 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 9.0 | -Win 95+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.2 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.5 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera for Wii | -Wii | -- | -A | -
| Presto | -Nokia N800 | -N800 | -- | -A | -
| Presto | -Nintendo DS browser | -Nintendo DS | -8.5 | -C/A1 | -
| KHTML | -Konqureror 3.1 | -KDE 3.1 | -3.1 | -C | -
| KHTML | -Konqureror 3.3 | -KDE 3.3 | -3.3 | -A | -
| KHTML | -Konqureror 3.5 | -KDE 3.5 | -3.5 | -A | -
| Tasman | -Internet Explorer 4.5 | -Mac OS 8-9 | -- | -X | -
| Tasman | -Internet Explorer 5.1 | -Mac OS 7.6-9 | -1 | -C | -
| Tasman | -Internet Explorer 5.2 | -Mac OS 8-X | -1 | -C | -
| Misc | -NetFront 3.1 | -Embedded devices | -- | -C | -
| Misc | -NetFront 3.4 | -Embedded devices | -- | -A | -
| Misc | -Dillo 0.8 | -Embedded devices | -- | -X | -
| Misc | -Links | -Text only | -- | -X | -
| Misc | -Lynx | -Text only | -- | -X | -
| Misc | -IE Mobile | -Windows Mobile 6 | -- | -C | -
| Misc | -PSP browser | -PSP | -- | -C | -
| Other browsers | -All others | -- | -- | -U | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
|---|---|---|---|---|
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
| Trident | -Internet - Explorer 4.0 | -Win 95+ | -4 | -X | -
| Trident | -Internet - Explorer 5.0 | -Win 95+ | -5 | -C | -
| Trident | -Internet - Explorer 5.5 | -Win 95+ | -5.5 | -A | -
| Trident | -Internet - Explorer 6 | -Win 98+ | -6 | -A | -
| Trident | -Internet Explorer 7 | -Win XP SP2+ | -7 | -A | -
| Trident | -AOL browser (AOL desktop) | -Win XP | -6 | -A | -
| Gecko | -Firefox 1.0 | -Win 98+ / OSX.2+ | -1.7 | -A | -
| Gecko | -Firefox 1.5 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 2.0 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Firefox 3.0 | -Win 2k+ / OSX.3+ | -1.9 | -A | -
| Gecko | -Camino 1.0 | -OSX.2+ | -1.8 | -A | -
| Gecko | -Camino 1.5 | -OSX.3+ | -1.8 | -A | -
| Gecko | -Netscape 7.2 | -Win 95+ / Mac OS 8.6-9.2 | -1.7 | -A | -
| Gecko | -Netscape Browser 8 | -Win 98SE+ | -1.7 | -A | -
| Gecko | -Netscape Navigator 9 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Mozilla 1.0 | -Win 95+ / OSX.1+ | -1 | -A | -
| Gecko | -Mozilla 1.1 | -Win 95+ / OSX.1+ | -1.1 | -A | -
| Gecko | -Mozilla 1.2 | -Win 95+ / OSX.1+ | -1.2 | -A | -
| Gecko | -Mozilla 1.3 | -Win 95+ / OSX.1+ | -1.3 | -A | -
| Gecko | -Mozilla 1.4 | -Win 95+ / OSX.1+ | -1.4 | -A | -
| Gecko | -Mozilla 1.5 | -Win 95+ / OSX.1+ | -1.5 | -A | -
| Gecko | -Mozilla 1.6 | -Win 95+ / OSX.1+ | -1.6 | -A | -
| Gecko | -Mozilla 1.7 | -Win 98+ / OSX.1+ | -1.7 | -A | -
| Gecko | -Mozilla 1.8 | -Win 98+ / OSX.1+ | -1.8 | -A | -
| Gecko | -Seamonkey 1.1 | -Win 98+ / OSX.2+ | -1.8 | -A | -
| Gecko | -Epiphany 2.20 | -Gnome | -1.8 | -A | -
| Webkit | -Safari 1.2 | -OSX.3 | -125.5 | -A | -
| Webkit | -Safari 1.3 | -OSX.3 | -312.8 | -A | -
| Webkit | -Safari 2.0 | -OSX.4+ | -419.3 | -A | -
| Webkit | -Safari 3.0 | -OSX.4+ | -522.1 | -A | -
| Webkit | -OmniWeb 5.5 | -OSX.4+ | -420 | -A | -
| Webkit | -iPod Touch / iPhone | -iPod | -420.1 | -A | -
| Webkit | -S60 | -S60 | -413 | -A | -
| Presto | -Opera 7.0 | -Win 95+ / OSX.1+ | -- | -A | -
| Presto | -Opera 7.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.0 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 8.5 | -Win 95+ / OSX.2+ | -- | -A | -
| Presto | -Opera 9.0 | -Win 95+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.2 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera 9.5 | -Win 88+ / OSX.3+ | -- | -A | -
| Presto | -Opera for Wii | -Wii | -- | -A | -
| Presto | -Nokia N800 | -N800 | -- | -A | -
| Presto | -Nintendo DS browser | -Nintendo DS | -8.5 | -C/A1 | -
| KHTML | -Konqureror 3.1 | -KDE 3.1 | -3.1 | -C | -
| KHTML | -Konqureror 3.3 | -KDE 3.3 | -3.3 | -A | -
| KHTML | -Konqureror 3.5 | -KDE 3.5 | -3.5 | -A | -
| Tasman | -Internet Explorer 4.5 | -Mac OS 8-9 | -- | -X | -
| Tasman | -Internet Explorer 5.1 | -Mac OS 7.6-9 | -1 | -C | -
| Tasman | -Internet Explorer 5.2 | -Mac OS 8-X | -1 | -C | -
| Misc | -NetFront 3.1 | -Embedded devices | -- | -C | -
| Misc | -NetFront 3.4 | -Embedded devices | -- | -A | -
| Misc | -Dillo 0.8 | -Embedded devices | -- | -X | -
| Misc | -Links | -Text only | -- | -X | -
| Misc | -Lynx | -Text only | -- | -X | -
| Misc | -IE Mobile | -Windows Mobile 6 | -- | -C | -
| Misc | -PSP browser | -PSP | -- | -C | -
| Other browsers | -All others | -- | -- | -U | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
|---|
| Reflection | -Link | -
|---|---|
| 1 | -DataTables | -
| 2 | -A link to Integrity | -
| 3 | -Integrity | -
| 4 | -EIntegrity | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
|---|---|---|---|---|
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
|---|---|---|---|---|
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
|---|---|---|---|---|
| Trident | -testsearchstring html & entity |
- Win 95+ | -4 | -X | -
| Trident | -Internet - Explorer 5.0 | -Win 95+ | -5 | -C | -
| Trident | -Internet - Explorer 5.5 | -Win 95+ | -5.5 | -A | -
| Trident | -Internet - Explorer 6 | -Win 98+ | -6 | -A | -
| Trident | -Internet Explorer 7 | -Win XP SP2+ | -7 | -A | -
| Trident | -AOL browser (AOL desktop) | -Win XP | -6 | -A | -
| Rendering engine | -Browser | -Platform(s) | -Engine version | -CSS grade | -
| Rendering engine | -Browser | -Platform(s) | -
|---|---|---|
| Gecko | -Firefox 1.0 | -Win 98+ / OSX.2+ | -
| Gecko | -Firefox 1.5 | -Win 98+ / OSX.2+ | -
| Gecko | -Firefox 2.0 | -Win 98+ / OSX.2+ | -
| Gecko | -Firefox 3.0 | -Win 2k+ / OSX.3+ | -
| Gecko | -Camino 1.0 | -OSX.2+ | -
| Gecko | -Camino 1.5 | -OSX.3+ | -
| Gecko | -Netscape 7.2 | -Win 95+ / Mac OS 8.6-9.2 | -
| Gecko | -Netscape Browser 8 | -Win 98SE+ | -
| Gecko | -Netscape Navigator 9 | -Win 98+ / OSX.2+ | -
| Gecko | -Mozilla 1.0 | -Win 95+ / OSX.1+ | -
| Gecko | -Mozilla 1.1 | -Win 95+ / OSX.1+ | -
| Gecko | -Mozilla 1.2 | -Win 95+ / OSX.1+ | -
| Gecko | -Mozilla 1.3 | -Win 95+ / OSX.1+ | -
| Gecko | -Mozilla 1.4 | -Win 95+ / OSX.1+ | -
| Gecko | -Mozilla 1.5 | -Win 95+ / OSX.1+ | -
| Gecko | -Mozilla 1.6 | -Win 95+ / OSX.1+ | -
| Gecko | -Mozilla 1.7 | -Win 98+ / OSX.1+ | -
| Gecko | -Mozilla 1.8 | -Win 98+ / OSX.1+ | -
| Gecko | -Seamonkey 1.1 | -Win 98+ / OSX.2+ | -
| Gecko | -Epiphany 2.20 | -Gnome | -
| Rendering engine | -Browser | -Platform(s) | -
tags
-// $code-color: #333;
-// $code-font-family: Consolas, 'Liberation Mono', Courier, monospace;
+// $code-color: $oil;
+// $code-font-family: $font-family-monospace;
// $code-font-weight: $font-weight-normal;
// $code-background-color: scale-color($secondary-color, $lightness: 70%);
// $code-border-size: 1px;
@@ -189,7 +261,7 @@ $primary-color: #008CBA;
// We use these to style the
element
// $hr-border-width: 1px;
// $hr-border-style: solid;
-// $hr-border-color: #ddd;
+// $hr-border-color: $gainsboro;
// $hr-margin: rem-calc(20);
// We use these to style lists
@@ -209,13 +281,13 @@ $primary-color: #008CBA;
// We use these to style blockquotes
// $blockquote-font-color: scale-color($header-font-color, $lightness: 35%);
// $blockquote-padding: rem-calc(9 20 0 19);
-// $blockquote-border: 1px solid #ddd;
+// $blockquote-border: 1px solid $gainsboro;
// $blockquote-cite-font-size: rem-calc(13);
// $blockquote-cite-font-color: scale-color($header-font-color, $lightness: 23%);
// $blockquote-cite-link-color: $blockquote-cite-font-color;
// Acronym styles
-// $acronym-underline: 1px dotted #ddd;
+// $acronym-underline: 1px dotted $gainsboro;
// We use these to control padding and margin
// $microformat-padding: rem-calc(10 12);
@@ -224,7 +296,7 @@ $primary-color: #008CBA;
// We use these to control the border styles
// $microformat-border-width: 1px;
// $microformat-border-style: solid;
-// $microformat-border-color: #ddd;
+// $microformat-border-color: $gainsboro;
// We use these to control full name font styles
// $microformat-fullname-font-weight: $font-weight-bold;
@@ -240,22 +312,24 @@ $primary-color: #008CBA;
// $microformat-abbr-font-weight: $font-weight-bold;
// $microformat-abbr-font-decoration: none;
-// Accordion
+// 01. Accordion
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-accordion-classes: $include-html-classes;
// $accordion-navigation-padding: rem-calc(16);
-// $accordion-navigation-bg-color: #efefef ;
+// $accordion-navigation-bg-color: $silver ;
// $accordion-navigation-hover-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -5%);
// $accordion-navigation-active-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -3%);
-// $accordion-navigation-font-color: #222;
+// $accordion-navigation-font-color: $jet;
// $accordion-navigation-font-size: rem-calc(16);
// $accordion-navigation-font-family: $body-font-family;
// $accordion-content-padding: $column-gutter/2;
-// $accordion-content-active-bg-color: #fff;
+// $accordion-content-active-bg-color: $white;
-// Alert Boxes
+// 02. Alert Boxes
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-alert-classes: $include-html-classes;
@@ -268,7 +342,7 @@ $primary-color: #008CBA;
// We use these to control text style.
// $alert-font-weight: $font-weight-normal;
// $alert-font-size: rem-calc(13);
-// $alert-font-color: #fff;
+// $alert-font-color: $white;
// $alert-font-color-alt: scale-color($secondary-color, $lightness: -66%);
// We use this for close hover effect.
@@ -281,7 +355,7 @@ $primary-color: #008CBA;
// $alert-bottom-margin: rem-calc(20);
// We use these to style the close buttons
-// $alert-close-color: #333;
+// $alert-close-color: $oil;
// $alert-close-top: 50%;
// $alert-close-position: rem-calc(4);
// $alert-close-font-size: rem-calc(22);
@@ -296,7 +370,8 @@ $primary-color: #008CBA;
// $alert-transition-speed: 300ms;
// $alert-transition-ease: ease-out;
-// Block Grid
+// 03. Block Grid
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-block-grid-classes: $include-html-classes;
// $include-xl-html-block-grid-classes: false;
@@ -306,11 +381,11 @@ $primary-color: #008CBA;
// $block-grid-default-spacing: rem-calc(20);
// $align-block-grid-to-grid: false;
-
// Enables media queries for block-grid classes. Set to false if writing semantic HTML.
// $block-grid-media-queries: true;
-// Breadcrumbs
+// 04. Breadcrumbs
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-nav-classes: $include-html-classes;
@@ -331,18 +406,17 @@ $primary-color: #008CBA;
// We use these to set various text styles for breadcrumbs.
// $crumb-font-size: rem-calc(11);
// $crumb-font-color: $primary-color;
-// $crumb-font-color-current: #333;
-// $crumb-font-color-unavailable: #999;
+// $crumb-font-color-current: $oil;
+// $crumb-font-color-unavailable: $aluminum;
// $crumb-font-transform: uppercase;
// $crumb-link-decor: underline;
// We use these to control the slash between breadcrumbs
-// $crumb-slash-color: #aaa;
+// $crumb-slash-color: $base;
// $crumb-slash: "/";
-//
-// BUTTONS
-//
+// 05. Buttons
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-button-classes: $include-html-classes;
@@ -358,8 +432,8 @@ $primary-color: #008CBA;
// We use these to control button text styles.
// $button-font-family: $body-font-family;
-// $button-font-color: #fff;
-// $button-font-color-alt: #333;
+// $button-font-color: $white;
+// $button-font-color-alt: $oil;
// $button-font-tny: rem-calc(11);
// $button-font-sml: rem-calc(13);
// $button-font-med: rem-calc(16);
@@ -391,7 +465,8 @@ $primary-color: #008CBA;
// $button-disabled-opacity: 0.7;
// $button-disabled-cursor: $cursor-default-value;
-// Button Groups
+// 06. Button Groups
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-button-classes: $include-html-classes;
@@ -399,18 +474,19 @@ $primary-color: #008CBA;
// $button-bar-margin-opposite: rem-calc(10);
// $button-group-border-width: 1px;
-// Clearing
+// 07. Clearing
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-clearing-classes: $include-html-classes;
// We use these to set the background colors for parts of Clearing.
-// $clearing-bg: #333;
+// $clearing-bg: $oil;
// $clearing-caption-bg: $clearing-bg;
// $clearing-carousel-bg: rgba(51,51,51,0.8);
// $clearing-img-bg: $clearing-bg;
// We use these to style the close button
-// $clearing-close-color: #ccc;
+// $clearing-close-color: $iron;
// $clearing-close-size: 30px;
// We use these to style the arrows
@@ -418,7 +494,7 @@ $primary-color: #008CBA;
// $clearing-arrow-color: $clearing-close-color;
// We use these to style captions
-// $clearing-caption-font-color: #ccc;
+// $clearing-caption-font-color: $iron;
// $clearing-caption-font-size: 0.875em;
// $clearing-caption-padding: 10px 30px 20px;
@@ -428,7 +504,8 @@ $primary-color: #008CBA;
// $clearing-carousel-thumb-width: 120px;
// $clearing-carousel-thumb-active-border: 1px solid rgb(255,255,255);
-// Dropdown
+// 08. Dropdown
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-dropdown-classes: $include-html-classes;
@@ -450,37 +527,42 @@ $primary-color: #008CBA;
// $f-dropdown-margin-bottom: $f-dropdown-margin-top;
// We use this to control the background color
-// $f-dropdown-bg: #fff;
+// $f-dropdown-bg: $white;
// We use this to set the border styles for dropdowns.
// $f-dropdown-border-style: solid;
// $f-dropdown-border-width: 1px;
-// $f-dropdown-border-color: scale-color(#fff, $lightness: -20%);
+// $f-dropdown-border-color: scale-color($white, $lightness: -20%);
// We use these to style the triangle pip.
// $f-dropdown-triangle-size: 6px;
-// $f-dropdown-triangle-color: #fff;
+// $f-dropdown-triangle-color: $white;
// $f-dropdown-triangle-side-offset: 10px;
// We use these to control styles for the list elements.
// $f-dropdown-list-style: none;
-// $f-dropdown-font-color: #555;
+// $f-dropdown-font-color: $charcoal;
// $f-dropdown-font-size: rem-calc(14);
// $f-dropdown-list-padding: rem-calc(5, 10);
// $f-dropdown-line-height: rem-calc(18);
-// $f-dropdown-list-hover-bg: #eeeeee ;
+// $f-dropdown-list-hover-bg: $smoke ;
// $dropdown-mobile-default-float: 0;
// We use this to control the styles for when the dropdown has custom content.
// $f-dropdown-content-padding: rem-calc(20);
-// Dropdown Buttons
+// Default radius for dropdown.
+// $f-dropdown-radius: $global-radius;
+
+
+// 09. Dropdown Buttons
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-button-classes: $include-html-classes;
// We use these to set the color of the pip in dropdown buttons
-// $dropdown-button-pip-color: #fff;
-// $dropdown-button-pip-color-alt: #333;
+// $dropdown-button-pip-color: $white;
+// $dropdown-button-pip-color-alt: $oil;
// $button-pip-tny: rem-calc(6);
// $button-pip-sml: rem-calc(7);
@@ -511,7 +593,8 @@ $primary-color: #008CBA;
// $dropdown-button-pip-opposite-lrg: $button-pip-lrg * 2.5;
// $dropdown-button-pip-top-lrg: -$button-pip-lrg / 2 + rem-calc(3);
-// Flex Video
+// 10. Flex Video
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-media-classes: $include-html-classes;
@@ -523,7 +606,8 @@ $primary-color: #008CBA;
// We use this to control widescreen bottom padding
// $flex-video-widescreen-padding-bottom: 56.34%;
-// Forms
+// 11. Forms
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-form-classes: $include-html-classes;
@@ -535,43 +619,43 @@ $primary-color: #008CBA;
// $form-label-font-size: rem-calc(14);
// $form-label-font-weight: $font-weight-normal;
// $form-label-line-height: 1.5;
-// $form-label-font-color: scale-color(#000, $lightness: 30%);
+// $form-label-font-color: scale-color($black, $lightness: 30%);
// $form-label-small-transform: capitalize;
// $form-label-bottom-margin: 0;
// $input-font-family: inherit;
// $input-font-color: rgba(0,0,0,0.75);
// $input-font-size: rem-calc(14);
-// $input-bg-color: #fff;
-// $input-focus-bg-color: scale-color(#fff, $lightness: -2%);
-// $input-border-color: scale-color(#fff, $lightness: -20%);
-// $input-focus-border-color: scale-color(#fff, $lightness: -40%);
+// $input-bg-color: $white;
+// $input-focus-bg-color: scale-color($white, $lightness: -2%);
+// $input-border-color: scale-color($white, $lightness: -20%);
+// $input-focus-border-color: scale-color($white, $lightness: -40%);
// $input-border-style: solid;
// $input-border-width: 1px;
// $input-border-radius: $global-radius;
-// $input-disabled-bg: #ddd;
+// $input-disabled-bg: $gainsboro;
// $input-disabled-cursor: $cursor-default-value;
// $input-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
// We use these to style the fieldset border and spacing.
// $fieldset-border-style: solid;
// $fieldset-border-width: 1px;
-// $fieldset-border-color: #ddd;
+// $fieldset-border-color: $gainsboro;
// $fieldset-padding: rem-calc(20);
// $fieldset-margin: rem-calc(18 0);
// We use these to style the legends when you use them
-// $legend-bg: #fff;
+// $legend-bg: $white;
// $legend-font-weight: $font-weight-bold;
// $legend-padding: rem-calc(0 3);
// We use these to style the prefix and postfix input elements
-// $input-prefix-bg: scale-color(#fff, $lightness: -5%);
-// $input-prefix-border-color: scale-color(#fff, $lightness: -20%);
+// $input-prefix-bg: scale-color($white, $lightness: -5%);
+// $input-prefix-border-color: scale-color($white, $lightness: -20%);
// $input-prefix-border-size: 1px;
// $input-prefix-border-type: solid;
// $input-prefix-overflow: hidden;
-// $input-prefix-font-color: #333;
-// $input-prefix-font-color-alt: #fff;
+// $input-prefix-font-color: $oil;
+// $input-prefix-font-color-alt: $white;
// We use this setting to turn on/off HTML5 number spinners (the up/down arrows)
// $input-number-spinners: true;
@@ -582,8 +666,8 @@ $primary-color: #008CBA;
// $input-error-message-font-size: rem-calc(12);
// $input-error-message-font-weight: $font-weight-normal;
// $input-error-message-font-style: italic;
-// $input-error-message-font-color: #fff;
-// $input-error-message-font-color-alt: #333;
+// $input-error-message-font-color: $white;
+// $input-error-message-font-color-alt: $oil;
// We use this to style the glowing effect of inputs when focused
// $input-include-glowing-effect: true;
@@ -591,10 +675,27 @@ $primary-color: #008CBA;
// $glowing-effect-color: $input-focus-border-color;
// Select variables
-// $select-bg-color: #fafafa;
+// $select-bg-color: $ghost;
// $select-hover-bg-color: scale-color($select-bg-color, $lightness: -3%);
-// Inline Lists
+// 12. Icon Bar
+// - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// We use these to style the icon-bar and items
+// $include-html-icon-bar-classes: $include-html-classes;
+// $icon-bar-bg: $oil;
+// $icon-bar-font-color: $white;
+// $icon-bar-font-size: 1rem;
+// $icon-bar-hover-color: $primary-color;
+// $icon-bar-icon-color: $white;
+// $icon-bar-icon-size: 1.875rem;
+// $icon-bar-image-width: 1.875rem;
+// $icon-bar-image-height: 1.875rem;
+// $icon-bar-active-color: $primary-color;
+// $icon-bar-item-padding: 1.25rem;
+
+// 13. Inline Lists
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-inline-list-classes: $include-html-classes;
@@ -613,23 +714,24 @@ $primary-color: #008CBA;
// We use this to control the list items
// $inline-list-display: block;
-// We use this to control any elments within list items
+// We use this to control any elements within list items
// $inline-list-children-display: block;
-// Joyride
+// 14. Joyride
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-joyride-classes: $include-html-classes;
// Controlling default Joyride styles
-// $joyride-tip-bg: #333;
+// $joyride-tip-bg: $oil;
// $joyride-tip-default-width: 300px;
// $joyride-tip-padding: rem-calc(18 20 24);
-// $joyride-tip-border: solid 1px #555;
+// $joyride-tip-border: solid 1px $charcoal;
// $joyride-tip-radius: 4px;
// $joyride-tip-position-offset: 22px;
-// Here, we're setting the tip dont styles
-// $joyride-tip-font-color: #fff;
+// Here, we're setting the tip font styles
+// $joyride-tip-font-color: $white;
// $joyride-tip-font-size: rem-calc(14);
// $joyride-tip-header-weight: $font-weight-bold;
@@ -639,68 +741,72 @@ $primary-color: #008CBA;
// This adjusts the styles for the timer when its enabled
// $joyride-tip-timer-width: 50px;
// $joyride-tip-timer-height: 3px;
-// $joyride-tip-timer-color: #666;
+// $joyride-tip-timer-color: $steel;
// This changes up the styles for the close button
-// $joyride-tip-close-color: #777;
+// $joyride-tip-close-color: $monsoon;
// $joyride-tip-close-size: 24px;
// $joyride-tip-close-weight: $font-weight-normal;
// When Joyride is filling the screen, we use this style for the bg
// $joyride-screenfill: rgba(0,0,0,0.5);
-// Keystrokes
+// 15. Keystrokes
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-keystroke-classes: $include-html-classes;
// We use these to control text styles.
// $keystroke-font: "Consolas", "Menlo", "Courier", monospace;
// $keystroke-font-size: inherit;
-// $keystroke-font-color: #222;
-// $keystroke-font-color-alt: #fff;
+// $keystroke-font-color: $jet;
+// $keystroke-font-color-alt: $white;
// $keystroke-function-factor: -7%;
// We use this to control keystroke padding.
// $keystroke-padding: rem-calc(2 4 0);
// We use these to control background and border styles.
-// $keystroke-bg: scale-color(#fff, $lightness: $keystroke-function-factor);
+// $keystroke-bg: scale-color($white, $lightness: $keystroke-function-factor);
// $keystroke-border-style: solid;
// $keystroke-border-width: 1px;
// $keystroke-border-color: scale-color($keystroke-bg, $lightness: $keystroke-function-factor);
// $keystroke-radius: $global-radius;
-// Labels
+// 16. Labels
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-label-classes: $include-html-classes;
// We use these to style the labels
-// $label-padding: rem-calc(4 8 6);
+// $label-padding: rem-calc(4 8 4);
// $label-radius: $global-radius;
// We use these to style the label text
// $label-font-sizing: rem-calc(11);
// $label-font-weight: $font-weight-normal;
-// $label-font-color: #333;
-// $label-font-color-alt: #fff;
+// $label-font-color: $oil;
+// $label-font-color-alt: $white;
// $label-font-family: $body-font-family;
-// Magellan
+// 17. Magellan
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-magellan-classes: $include-html-classes;
-// $magellan-bg: #fff;
-$magellan-padding: 0 !important;
+// $magellan-bg: $white;
+// $magellan-padding: 0 !important;
-// Off-canvas
+// 18. Off-canvas
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-off-canvas-classes: $include-html-classes;
-// $tabbar-bg: #333;
+// $tabbar-bg: $oil;
// $tabbar-height: rem-calc(45);
// $tabbar-icon-width: $tabbar-height;
// $tabbar-line-height: $tabbar-height;
-// $tabbar-color: #fff;
+// $tabbar-color: $white;
// $tabbar-middle-padding: 0 rem-calc(10);
// Off Canvas Divider Styles
@@ -708,30 +814,38 @@ $magellan-padding: 0 !important;
// $tabbar-left-section-border: solid 1px scale-color($tabbar-bg, $lightness: -50%);
// Off Canvas Tab Bar Headers
-// $tabbar-header-color: #fff;
+// $tabbar-header-color: $white;
// $tabbar-header-weight: $font-weight-bold;
// $tabbar-header-line-height: $tabbar-height;
// $tabbar-header-margin: 0;
// Off Canvas Menu Variables
// $off-canvas-width: rem-calc(250);
-// $off-canvas-bg: #333;
+// $off-canvas-bg: $oil;
+// $off-canvas-bg-hover: scale-color($tabbar-bg, $lightness: -30%);
// Off Canvas Menu List Variables
// $off-canvas-label-padding: 0.3rem rem-calc(15);
-// $off-canvas-label-color: #999;
+// $off-canvas-label-color: $aluminum;
// $off-canvas-label-text-transform: uppercase;
+// $off-canvas-label-font-size: rem-calc(12);
// $off-canvas-label-font-weight: $font-weight-bold;
-// $off-canvas-label-bg: #444;
-// $off-canvas-label-border-top: 1px solid scale-color(#444, $lightness: 14%);
+// $off-canvas-label-bg: $tuatara;
+// $off-canvas-label-border-top: 1px solid scale-color($tuatara, $lightness: 14%);
// $off-canvas-label-border-bottom: none;
// $off-canvas-label-margin:0;
// $off-canvas-link-padding: rem-calc(10, 15);
-// $off-canvas-link-color: rgba(#fff, 0.7);
+// $off-canvas-link-color: rgba($white, 0.7);
// $off-canvas-link-border-bottom: 1px solid scale-color($off-canvas-bg, $lightness: -25%);
+// $off-canvas-back-bg: $tuatara;
+// $off-canvas-back-border-top: $off-canvas-label-border-top;
+// $off-canvas-back-border-bottom: $off-canvas-label-border-bottom;
+// $off-canvas-back-hover-bg: scale-color($off-canvas-back-bg, $lightness: -30%);
+// $off-canvas-back-hover-border-top: 1px solid scale-color($off-canvas-label-bg, $lightness: 14%);
+// $off-canvas-back-hover-border-bottom: none;
// Off Canvas Menu Icon Variables
-// $tabbar-menu-icon-color: #fff;
+// $tabbar-menu-icon-color: $white;
// $tabbar-menu-icon-hover: scale-color($tabbar-menu-icon-color, $lightness: -30%);
// $tabbar-menu-icon-text-indent: rem-calc(35);
@@ -748,21 +862,22 @@ $magellan-padding: 0 !important;
// Off Canvas Back-Link Overlay
// $off-canvas-overlay-transition: background 300ms ease;
// $off-canvas-overlay-cursor: pointer;
-// $off-canvas-overlay-box-shadow: -4px 0 4px rgba(#000, 0.5), 4px 0 4px rgba(#000, 0.5);
-// $off-canvas-overlay-background: rgba(#fff, 0.2);
-// $off-canvas-overlay-background-hover: rgba(#fff, 0.05);
+// $off-canvas-overlay-box-shadow: -4px 0 4px rgba($black, 0.5), 4px 0 4px rgba($black, 0.5);
+// $off-canvas-overlay-background: rgba($white, 0.2);
+// $off-canvas-overlay-background-hover: rgba($white, 0.05);
// Transition Variables
// $menu-slide: "transform 500ms ease";
-// Orbit
+// 19. Orbit
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-orbit-classes: $include-html-classes;
// We use these to control the caption styles
// $orbit-container-bg: none;
// $orbit-caption-bg: rgba(51,51,51, 0.8);
-// $orbit-caption-font-color: #fff;
+// $orbit-caption-font-color: $white;
// $orbit-caption-font-size: rem-calc(14);
// $orbit-caption-position: "bottom"; // Supported values: "bottom", "under"
// $orbit-caption-padding: rem-calc(10 14);
@@ -771,21 +886,21 @@ $magellan-padding: 0 !important;
// We use these to control the left/right nav styles
// $orbit-nav-bg: transparent;
// $orbit-nav-bg-hover: rgba(0,0,0,0.3);
-// $orbit-nav-arrow-color: #fff;
-// $orbit-nav-arrow-color-hover: #fff;
+// $orbit-nav-arrow-color: $white;
+// $orbit-nav-arrow-color-hover: $white;
// We use these to control the timer styles
// $orbit-timer-bg: rgba(255,255,255,0.3);
// $orbit-timer-show-progress-bar: true;
// We use these to control the bullet nav styles
-// $orbit-bullet-nav-color: #ccc;
-// $orbit-bullet-nav-color-active: #999;
+// $orbit-bullet-nav-color: $iron;
+// $orbit-bullet-nav-color-active: $aluminum;
// $orbit-bullet-radius: rem-calc(9);
// We use these to controls the style of slide numbers
// $orbit-slide-number-bg: rgba(0,0,0,0);
-// $orbit-slide-number-font-color: #fff;
+// $orbit-slide-number-font-color: $white;
// $orbit-slide-number-padding: rem-calc(5);
// Hide controls on small
@@ -797,7 +912,8 @@ $magellan-padding: 0 !important;
// $wrapper-class: "slideshow-wrapper";
// $preloader-class: "preloader";
-// Pagination
+// 20. Pagination
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-pagination-classes: $include-html-classes;
@@ -808,33 +924,34 @@ $magellan-padding: 0 !important;
// We use these to set the list-item properties
// $pagination-li-float: $default-float;
// $pagination-li-height: rem-calc(24);
-// $pagination-li-font-color: #222;
+// $pagination-li-font-color: $jet;
// $pagination-li-font-size: rem-calc(14);
// $pagination-li-margin: rem-calc(5);
// We use these for the pagination anchor links
// $pagination-link-pad: rem-calc(1 10 1);
-// $pagination-link-font-color: #999;
-// $pagination-link-active-bg: scale-color(#fff, $lightness: -10%);
+// $pagination-link-font-color: $aluminum;
+// $pagination-link-active-bg: scale-color($white, $lightness: -10%);
// We use these for disabled anchor links
// $pagination-link-unavailable-cursor: default;
-// $pagination-link-unavailable-font-color: #999;
+// $pagination-link-unavailable-font-color: $aluminum;
// $pagination-link-unavailable-bg-active: transparent;
// We use these for currently selected anchor links
// $pagination-link-current-background: $primary-color;
-// $pagination-link-current-font-color: #fff;
+// $pagination-link-current-font-color: $white;
// $pagination-link-current-font-weight: $font-weight-bold;
// $pagination-link-current-cursor: default;
// $pagination-link-current-active-bg: $primary-color;
-// Panels
+// 21. Panels
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-panel-classes: $include-html-classes;
// We use these to control the background and border styles
-// $panel-bg: scale-color(#fff, $lightness: -5%);
+// $panel-bg: scale-color($white, $lightness: -5%);
// $panel-border-style: solid;
// $panel-border-size: 1px;
@@ -847,74 +964,75 @@ $magellan-padding: 0 !important;
// $panel-padding: rem-calc(20);
// We use these to set default font colors
-// $panel-font-color: #333;
-// $panel-font-color-alt: #fff;
+// $panel-font-color: $oil;
+// $panel-font-color-alt: $white;
// $panel-header-adjust: true;
// $callout-panel-link-color: $primary-color;
-// Pricing Tables
+// 22. Pricing Tables
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-pricing-classes: $include-html-classes;
// We use this to control the border color
-// $price-table-border: solid 1px #ddd;
+// $price-table-border: solid 1px $gainsboro;
// We use this to control the bottom margin of the pricing table
// $price-table-margin-bottom: rem-calc(20);
// We use these to control the title styles
-// $price-title-bg: #333;
+// $price-title-bg: $oil;
// $price-title-padding: rem-calc(15 20);
// $price-title-align: center;
-// $price-title-color: #eee;
+// $price-title-color: $smoke;
// $price-title-weight: $font-weight-normal;
// $price-title-size: rem-calc(16);
// $price-title-font-family: $body-font-family;
// We use these to control the price styles
-// $price-money-bg: #f6f6f6 ;
+// $price-money-bg: $vapor ;
// $price-money-padding: rem-calc(15 20);
// $price-money-align: center;
-// $price-money-color: #333;
+// $price-money-color: $oil;
// $price-money-weight: $font-weight-normal;
// $price-money-size: rem-calc(32);
// $price-money-font-family: $body-font-family;
-
// We use these to control the description styles
-// $price-bg: #fff;
-// $price-desc-color: #777;
+// $price-bg: $white;
+// $price-desc-color: $monsoon;
// $price-desc-padding: rem-calc(15);
// $price-desc-align: center;
// $price-desc-font-size: rem-calc(12);
// $price-desc-weight: $font-weight-normal;
// $price-desc-line-height: 1.4;
-// $price-desc-bottom-border: dotted 1px #ddd;
+// $price-desc-bottom-border: dotted 1px $gainsboro;
// We use these to control the list item styles
-// $price-item-color: #333;
+// $price-item-color: $oil;
// $price-item-padding: rem-calc(15);
// $price-item-align: center;
// $price-item-font-size: rem-calc(14);
// $price-item-weight: $font-weight-normal;
-// $price-item-bottom-border: dotted 1px #ddd;
+// $price-item-bottom-border: dotted 1px $gainsboro;
// We use these to control the CTA area styles
-// $price-cta-bg: #fff;
+// $price-cta-bg: $white;
// $price-cta-align: center;
// $price-cta-padding: rem-calc(20 20 0);
-// Progress Bar
+// 23. Progress Bar
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-media-classes: $include-html-classes;
// We use this to set the progress bar height
// $progress-bar-height: rem-calc(25);
-// $progress-bar-color: #f6f6f6 ;
+// $progress-bar-color: $vapor ;
// We use these to control the border styles
-// $progress-bar-border-color: scale-color(#fff, $lightness: 20%);
+// $progress-bar-border-color: scale-color($white, $lightness: 20%);
// $progress-bar-border-size: 1px;
// $progress-bar-border-style: solid;
// $progress-bar-border-radius: $global-radius;
@@ -929,26 +1047,61 @@ $magellan-padding: 0 !important;
// $progress-meter-success-color: $success-color;
// $progress-meter-alert-color: $alert-color;
-// Reveal
+// 24. Range Slider
+// - - - - - - - - - - - - - - - - - - - - - - - - -
+
+// $include-html-range-slider-classes: $include-html-classes;
+
+// These variables define the slider bar styles
+// $range-slider-bar-width: 100%;
+// $range-slider-bar-height: rem-calc(16);
+
+// $range-slider-bar-border-width: 1px;
+// $range-slider-bar-border-style: solid;
+// $range-slider-bar-border-color: $gainsboro;
+// $range-slider-radius: $global-radius;
+// $range-slider-round: $global-rounded;
+// $range-slider-bar-bg-color: $ghost;
+
+// Vertical bar styles
+// $range-slider-vertical-bar-width: rem-calc(16);
+// $range-slider-vertical-bar-height: rem-calc(200);
+
+// These variables define the slider handle styles
+// $range-slider-handle-width: rem-calc(32);
+// $range-slider-handle-height: rem-calc(22);
+// $range-slider-handle-position-top: rem-calc(-5);
+// $range-slider-handle-bg-color: $primary-color;
+// $range-slider-handle-border-width: 1px;
+// $range-slider-handle-border-style: solid;
+// $range-slider-handle-border-color: none;
+// $range-slider-handle-radius: $global-radius;
+// $range-slider-handle-round: $global-rounded;
+// $range-slider-handle-bg-hover-color: scale-color($primary-color, $lightness: -12%);
+// $range-slider-handle-cursor: pointer;
+
+// 25. Reveal
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-reveal-classes: $include-html-classes;
// We use these to control the style of the reveal overlay.
-// $reveal-overlay-bg: rgba(#000, .45);
-// $reveal-overlay-bg-old: #000;
+// $reveal-overlay-bg: rgba($black, .45);
+// $reveal-overlay-bg-old: $black;
// We use these to control the style of the modal itself.
-// $reveal-modal-bg: #fff;
+// $reveal-modal-bg: $white;
// $reveal-position-top: rem-calc(100);
// $reveal-default-width: 80%;
+// $reveal-max-width: $row-width;
// $reveal-modal-padding: rem-calc(20);
-// $reveal-box-shadow: 0 0 10px rgba(#000,.4);
+// $reveal-box-shadow: 0 0 10px rgba($black,.4);
// We use these to style the reveal close button
// $reveal-close-font-size: rem-calc(40);
// $reveal-close-top: rem-calc(8);
// $reveal-close-side: rem-calc(11);
-// $reveal-close-color: #aaa;
+// $reveal-close-color: $base;
// $reveal-close-weight: $font-weight-bold;
// We use this to set the default radius used throughout the core.
@@ -958,12 +1111,13 @@ $magellan-padding: 0 !important;
// We use these to control the modal border
// $reveal-border-style: solid;
// $reveal-border-width: 1px;
-// $reveal-border-color: #666;
+// $reveal-border-color: $steel;
// $reveal-modal-class: "reveal-modal";
// $close-reveal-modal-class: "close-reveal-modal";
-// Side Nav
+// 26. Side Nav
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-nav-classes: $include-html-classes;
@@ -986,7 +1140,7 @@ $magellan-padding: 0 !important;
// $side-nav-font-weight: $font-weight-normal;
// $side-nav-font-weight-active: $side-nav-font-weight;
// $side-nav-font-family: $body-font-family;
-// $side-nav-active-font-family: $side-nav-font-family;
+// $side-nav-font-family-active: $side-nav-font-family;
// We use these to control heading styles.
// $side-nav-heading-color: $side-nav-link-color;
@@ -997,16 +1151,17 @@ $magellan-padding: 0 !important;
// We use these to control border styles
// $side-nav-divider-size: 1px;
// $side-nav-divider-style: solid;
-// $side-nav-divider-color: scale-color(#fff, $lightness: 10%);
+// $side-nav-divider-color: scale-color($white, $lightness: 10%);
-// Split Buttons
+// 27. Split Buttons
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-button-classes: $include-html-classes;
// We use these to control different shared styles for Split Buttons
// $split-button-function-factor: 10%;
-// $split-button-pip-color: #fff;
-// $split-button-pip-color-alt: #333;
+// $split-button-pip-color: $white;
+// $split-button-pip-color-alt: $oil;
// $split-button-active-bg-tint: rgba(0,0,0,0.1);
// We use these to control tiny split buttons
@@ -1037,7 +1192,8 @@ $magellan-padding: 0 !important;
// $split-button-pip-top-lrg: $button-pip-lrg + rem-calc(5);
// $split-button-pip-default-float-lrg: rem-calc(-6);
-// Sub Nav
+// 28. Sub Nav
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-nav-classes: $include-html-classes;
@@ -1048,36 +1204,34 @@ $magellan-padding: 0 !important;
// We use this to control the definition
// $sub-nav-font-family: $body-font-family;
// $sub-nav-font-size: rem-calc(14);
-// $sub-nav-font-color: #999;
+// $sub-nav-font-color: $aluminum;
// $sub-nav-font-weight: $font-weight-normal;
// $sub-nav-text-decoration: none;
-$sub-nav-padding: rem-calc(3 16);
+// $sub-nav-padding: rem-calc(3 16);
// $sub-nav-border-radius: 3px;
// $sub-nav-font-color-hover: scale-color($sub-nav-font-color, $lightness: -25%);
-
// We use these to control the active item styles
-$sub-nav-active-font-weight: $font-weight-normal;
-$sub-nav-active-bg: $primary-color;
-$sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%);
-$sub-nav-active-color: #fff;
-$sub-nav-active-padding: $sub-nav-padding;
-$sub-nav-active-cursor: default;
+// $sub-nav-active-font-weight: $font-weight-normal;
+// $sub-nav-active-bg: $primary-color;
+// $sub-nav-active-bg-hover: scale-color($sub-nav-active-bg, $lightness: -14%);
+// $sub-nav-active-color: $white;
+// $sub-nav-active-padding: $sub-nav-padding;
+// $sub-nav-active-cursor: default;
// $sub-nav-item-divider: "";
// $sub-nav-item-divider-margin: rem-calc(12);
-//
-// SWITCH
-//
+// 29. Switch
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-form-classes: $include-html-classes;
// Controlling border styles and background colors for the switch container
-// $switch-border-color: scale-color(#fff, $lightness: -20%);
+// $switch-border-color: scale-color($white, $lightness: -20%);
// $switch-border-style: solid;
// $switch-border-width: 1px;
-// $switch-bg: #fff;
+// $switch-bg: $white;
// We use these to control the switch heights for our default classes
// $switch-height-tny: rem-calc(22);
@@ -1094,7 +1248,7 @@ $sub-nav-active-cursor: default;
// $switch-label-side-padding: 6px;
// We use these to style the switch-paddle
-// $switch-paddle-bg: #fff;
+// $switch-paddle-bg: $white;
// $switch-paddle-fade-to-color: scale-color($switch-paddle-bg, $lightness: -10%);
// $switch-paddle-border-color: scale-color($switch-paddle-bg, $lightness: -35%);
// $switch-paddle-border-width: 1px;
@@ -1102,52 +1256,53 @@ $sub-nav-active-cursor: default;
// $switch-paddle-transition-speed: .1s;
// $switch-paddle-transition-ease: ease-out;
// $switch-positive-color: scale-color($success-color, $lightness: 94%);
-// $switch-negative-color: #f5f5f5;
+// $switch-negative-color: $white-smoke;
// Outline Style for tabbing through switches
-// $switch-label-outline: 1px dotted #888;
+// $switch-label-outline: 1px dotted $jumbo;
-// Tables
+// 30. Tables
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-table-classes: $include-html-classes;
// These control the background color for the table and even rows
-// $table-bg: #fff;
-// $table-even-row-bg: #f9f9f9 ;
+// $table-bg: $white;
+// $table-even-row-bg: $snow ;
// These control the table cell border style
// $table-border-style: solid;
// $table-border-size: 1px;
-// $table-border-color: #ddd;
+// $table-border-color: $gainsboro;
// These control the table head styles
-// $table-head-bg: #f5f5f5 ;
+// $table-head-bg: $white-smoke ;
// $table-head-font-size: rem-calc(14);
-// $table-head-font-color: #222;
+// $table-head-font-color: $jet;
// $table-head-font-weight: $font-weight-bold;
// $table-head-padding: rem-calc(8 10 10);
// These control the row padding and font styles
// $table-row-padding: rem-calc(9 10);
// $table-row-font-size: rem-calc(14);
-// $table-row-font-color: #222;
+// $table-row-font-color: $jet;
// $table-line-height: rem-calc(18);
-// These are for controlling the display and margin of tables
+// These are for controlling the layout, display and margin of tables
+// $table-layout: auto;
// $table-display: table-cell;
// $table-margin-bottom: rem-calc(20);
-//
-// TABS
-//
+// 31. Tabs
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-tabs-classes: $include-html-classes;
// $tabs-navigation-padding: rem-calc(16);
-// $tabs-navigation-bg-color: #efefef ;
-// $tabs-navigation-active-bg-color: #fff;
+// $tabs-navigation-bg-color: $silver ;
+// $tabs-navigation-active-bg-color: $white;
// $tabs-navigation-hover-bg-color: scale-color($tabs-navigation-bg-color, $lightness: -6%);
-// $tabs-navigation-font-color: #222;
+// $tabs-navigation-font-color: $jet;
// $tabs-navigation-active-font-color: $tabs-navigation-font-color;
// $tabs-navigation-font-size: rem-calc(16);
// $tabs-navigation-font-family: $body-font-family;
@@ -1157,59 +1312,56 @@ $sub-nav-active-cursor: default;
// $tabs-vertical-navigation-margin-bottom: 1.25rem;
-//
-// THUMBNAILS
-//
+// 32. Thumbnails
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-media-classes: $include-html-classes;
// We use these to control border styles
// $thumb-border-style: solid;
// $thumb-border-width: 4px;
-// $thumb-border-color: #fff;
-// $thumb-box-shadow: 0 0 0 1px rgba(#000,.2);
+// $thumb-border-color: $white;
+// $thumb-box-shadow: 0 0 0 1px rgba($black,.2);
// $thumb-box-shadow-hover: 0 0 6px 1px rgba($primary-color,0.5);
// Radius and transition speed for thumbs
// $thumb-radius: $global-radius;
// $thumb-transition-speed: 200ms;
-//
-// TOOLTIPS
-//
+// 33. Tooltips
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-tooltip-classes: $include-html-classes;
-// $has-tip-border-bottom: dotted 1px #ccc;
+// $has-tip-border-bottom: dotted 1px $iron;
// $has-tip-font-weight: $font-weight-bold;
-// $has-tip-font-color: #333;
+// $has-tip-font-color: $oil;
// $has-tip-border-bottom-hover: dotted 1px scale-color($primary-color, $lightness: -55%);
// $has-tip-font-color-hover: $primary-color;
// $has-tip-cursor-type: help;
// $tooltip-padding: rem-calc(12);
-// $tooltip-bg: #333;
+// $tooltip-bg: $oil;
// $tooltip-font-size: rem-calc(14);
// $tooltip-font-weight: $font-weight-normal;
-// $tooltip-font-color: #fff;
+// $tooltip-font-color: $white;
// $tooltip-line-height: 1.3;
// $tooltip-close-font-size: rem-calc(10);
// $tooltip-close-font-weight: $font-weight-normal;
-// $tooltip-close-font-color: #777;
+// $tooltip-close-font-color: $monsoon;
// $tooltip-font-size-sml: rem-calc(14);
// $tooltip-radius: $global-radius;
// $tooltip-rounded: $global-rounded;
// $tooltip-pip-size: 5px;
// $tooltip-max-width: 300px;
-//
-// TOP BAR
-//
+// 34. Top Bar
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-top-bar-classes: $include-html-classes;
// Background color for the top bar
-// $topbar-bg-color: #333;
+// $topbar-bg-color: $oil;
// $topbar-bg: $topbar-bg-color;
// Height and margin
@@ -1221,48 +1373,50 @@ $sub-nav-active-cursor: default;
// $topbar-title-font-size: rem-calc(17);
// Style the top bar dropdown elements
-// $topbar-dropdown-bg: #333;
-// $topbar-dropdown-link-color: #fff;
-// $topbar-dropdown-link-bg: #333;
+// $topbar-dropdown-bg: $oil;
+// $topbar-dropdown-link-color: $white;
+// $topbar-dropdown-link-bg: $oil;
// $topbar-dropdown-link-weight: $font-weight-normal;
// $topbar-dropdown-toggle-size: 5px;
-// $topbar-dropdown-toggle-color: #fff;
+// $topbar-dropdown-toggle-color: $white;
// $topbar-dropdown-toggle-alpha: 0.4;
// Set the link colors and styles for top-level nav
-// $topbar-link-color: #fff;
-// $topbar-link-color-hover: #fff;
-// $topbar-link-color-active: #fff;
-// $topbar-link-color-active-hover: #fff;
+// $topbar-link-color: $white;
+// $topbar-link-color-hover: $white;
+// $topbar-link-color-active: $white;
+// $topbar-link-color-active-hover: $white;
// $topbar-link-weight: $font-weight-normal;
// $topbar-link-font-size: rem-calc(13);
// $topbar-link-hover-lightness: -10%; // Darken by 10%
// $topbar-link-bg: $topbar-bg;
-// $topbar-link-bg-color-hover: #555555;
+// $topbar-link-bg-color-hover: $charcoal;
// $topbar-link-bg-hover: #272727;
// $topbar-link-bg-active: $primary-color;
// $topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%);
// $topbar-link-font-family: $body-font-family;
// $topbar-link-text-transform: none;
// $topbar-link-padding: $topbar-height / 3;
+// $topbar-back-link-size: $h5-font-size;
+// $topbar-link-dropdown-padding: 20px;
// $topbar-button-font-size: 0.75rem;
// $topbar-button-top: 7px;
-// $topbar-dropdown-label-color: #777;
+// $topbar-dropdown-label-color: $monsoon;
// $topbar-dropdown-label-text-transform: uppercase;
// $topbar-dropdown-label-font-weight: $font-weight-bold;
// $topbar-dropdown-label-font-size: rem-calc(10);
-// $topbar-dropdown-label-bg: #333;
+// $topbar-dropdown-label-bg: $oil;
// Top menu icon styles
// $topbar-menu-link-transform: uppercase;
// $topbar-menu-link-font-size: rem-calc(13);
// $topbar-menu-link-weight: $font-weight-bold;
-// $topbar-menu-link-color: #fff;
-// $topbar-menu-icon-color: #fff;
-// $topbar-menu-link-color-toggled: #888;
-// $topbar-menu-icon-color-toggled: #888;
+// $topbar-menu-link-color: $white;
+// $topbar-menu-icon-color: $white;
+// $topbar-menu-link-color-toggled: $jumbo;
+// $topbar-menu-icon-color-toggled: $jumbo;
// Transitions and breakpoint styles
// $topbar-transition-speed: 300ms;
@@ -1278,60 +1432,10 @@ $sub-nav-active-cursor: default;
// $topbar-sticky-class: ".sticky";
// $topbar-arrows: true; //Set false to remove the triangle icon from the menu item
-// ICON BAR
-
-// We use these to style the icon-bar and items
-// $include-html-icon-bar-classes: $include-html-classes;
-// $icon-bar-bg: #333;
-// $icon-bar-font-color: #fff;
-// $icon-bar-font-size: 1rem;
-// $icon-bar-hover-color: $primary-color;
-// $icon-bar-icon-color: #fff;
-// $icon-bar-icon-size: 1.875rem;
-// $icon-bar-image-width: 1.875rem;
-// $icon-bar-image-height: 1.875rem;
-// $icon-bar-active-color: $primary-color;
-// $icon-bar-item-padding: 1.25rem;
-
-//
-// VISIBILITY CLASSES
-//
+// 36. Visibility Classes
+// - - - - - - - - - - - - - - - - - - - - - - - - -
// $include-html-visibility-classes: $include-html-classes;
// $include-table-visibility-classes: true;
// $include-legacy-visibility-classes: true;
// $include-accessibility-classes: true;
-
-//
-// RANGE SLIDER
-//
-
-// $include-html-range-slider-classes: $include-html-classes;
-
-// These variabels define the slider bar styles
-// $range-slider-bar-width: 100%;
-// $range-slider-bar-height: rem-calc(16);
-
-// $range-slider-bar-border-width: 1px;
-// $range-slider-bar-border-style: solid;
-// $range-slider-bar-border-color: #ddd;
-// $range-slider-radius: $global-radius;
-// $range-slider-round: $global-rounded;
-// $range-slider-bar-bg-color: #fafafa;
-
-// Vertical bar styles
-// $range-slider-vertical-bar-width: rem-calc(16);
-// $range-slider-vertical-bar-height: rem-calc(200);
-
-// These variabels define the slider handle styles
-// $range-slider-handle-width: rem-calc(32);
-// $range-slider-handle-height: rem-calc(22);
-// $range-slider-handle-position-top: rem-calc(-5);
-// $range-slider-handle-bg-color: $primary-color;
-// $range-slider-handle-border-width: 1px;
-// $range-slider-handle-border-style: solid;
-// $range-slider-handle-border-color: none;
-// $range-slider-handle-radius: $global-radius;
-// $range-slider-handle-round: $global-rounded;
-// $range-slider-handle-bg-hover-color: scale-color($primary-color, $lightness: -12%);
-// $range-slider-handle-cursor: pointer;
diff --git a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_accordion.scss b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_accordion.scss
index 5f48211a58..84d9611a58 100644
--- a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_accordion.scss
+++ b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_accordion.scss
@@ -11,15 +11,15 @@
$include-html-accordion-classes: $include-html-classes !default;
$accordion-navigation-padding: rem-calc(16) !default;
-$accordion-navigation-bg-color: #efefef !default;
+$accordion-navigation-bg-color: $silver !default;
$accordion-navigation-hover-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -5%) !default;
$accordion-navigation-active-bg-color: scale-color($accordion-navigation-bg-color, $lightness: -3%) !default;
-$accordion-navigation-font-color: #222 !default;
+$accordion-navigation-font-color: $jet !default;
$accordion-navigation-font-size: rem-calc(16) !default;
$accordion-navigation-font-family: $body-font-family !default;
$accordion-content-padding: $column-gutter/2 !default;
-$accordion-content-active-bg-color: #fff !default;
+$accordion-content-active-bg-color: $white !default;
// Mixin: accordion-container()
@@ -61,7 +61,7 @@ $accordion-content-active-bg-color: #fff !default;
@warn "#{$padding} was read as a #{type-of($padding)}";
@warn "`#{$padding}` isn't a valid number. $accordion-navigation-padding (#{$accordion-navigation-padding}) will be used instead.)";
padding: $accordion-navigation-padding;
- }
+ }
@else {
@warn "`#{$padding}` isn't a valid number and $accordion-navigation-padding is missing. A value of `null` is returned to not output an invalid value for padding";
padding: null;
@@ -99,10 +99,10 @@ $accordion-content-active-bg-color: #fff !default;
// @params $active_class [ string ]: Class name used to keep track of which accordion tab should be visible.
@mixin accordion-content($bg: $accordion-content-active-bg-color, $padding: $accordion-content-padding, $active_class: 'active'){
- display: none;
+ display: none;
@if type-of($padding) != "number" {
@warn "#{$padding} was read as a #{type-of($padding)}";
- @if $accordion-content-padding != null {
+ @if $accordion-content-padding != null {
@warn "`#{$padding}` isn't a valid number. $accordion-content-padding used instead";
padding: $accordion-content-padding;
} @else {
@@ -127,7 +127,8 @@ $accordion-content-active-bg-color: #fff !default;
@include exports("accordion") {
@if $include-html-accordion-classes {
.accordion {
- @include clearfix; margin-bottom: 0;
+ @include clearfix;
+ margin-bottom: 0;
.accordion-navigation, dd {
display: block;
margin-bottom: 0 !important;
@@ -141,7 +142,7 @@ $accordion-content-active-bg-color: #fff !default;
font-size: $accordion-navigation-font-size;
&:hover { background: $accordion-navigation-hover-bg-color; }
}
-
+
> .content {
display: none;
padding: $accordion-content-padding;
diff --git a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_alert-boxes.scss b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_alert-boxes.scss
index bd1fd5f401..6cf9b96387 100644
--- a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_alert-boxes.scss
+++ b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_alert-boxes.scss
@@ -18,7 +18,7 @@ $alert-padding-bottom: $alert-padding-top !default;
// We use these to control text style.
$alert-font-weight: $font-weight-normal !default;
$alert-font-size: rem-calc(13) !default;
-$alert-font-color: #fff !default;
+$alert-font-color: $white !default;
$alert-font-color-alt: scale-color($secondary-color, $lightness: -66%) !default;
// We use this for close hover effect.
@@ -31,7 +31,7 @@ $alert-border-color: scale-color($primary-color, $lightness: $alert-function-fac
$alert-bottom-margin: rem-calc(20) !default;
// We use these to style the close buttons
-$alert-close-color: #333 !default;
+$alert-close-color: $oil !default;
$alert-close-top: 50% !default;
$alert-close-position: rem-calc(4) !default;
$alert-close-font-size: rem-calc(22) !default;
diff --git a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_breadcrumbs.scss b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_breadcrumbs.scss
index 620ea04704..612a146c40 100644
--- a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_breadcrumbs.scss
+++ b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_breadcrumbs.scss
@@ -26,13 +26,13 @@ $crumb-radius: $global-radius !default;
// We use these to set various text styles for breadcrumbs.
$crumb-font-size: rem-calc(11) !default;
$crumb-font-color: $primary-color !default;
-$crumb-font-color-current: #333 !default;
-$crumb-font-color-unavailable: #999 !default;
+$crumb-font-color-current: $oil !default;
+$crumb-font-color-unavailable: $aluminum !default;
$crumb-font-transform: uppercase !default;
$crumb-link-decor: underline !default;
// We use these to control the slash between breadcrumbs
-$crumb-slash-color: #aaa !default;
+$crumb-slash-color: $base !default;
$crumb-slash: "/" !default;
//
@@ -125,3 +125,8 @@ $crumb-slash: "/" !default;
}
}
}
+
+/* Accessibility - hides the forward slash */
+[aria-label="breadcrumbs"] [aria-hidden="true"]:after {
+ content: "/";
+ }
diff --git a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_button-groups.scss b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_button-groups.scss
index 7d7e100afd..46c17ba795 100644
--- a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_button-groups.scss
+++ b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_button-groups.scss
@@ -5,7 +5,6 @@
@import "global";
@import "buttons";
-
//
// Button Group Variables
//
@@ -35,7 +34,7 @@ $button-group-border-width: 1px !default;
}
// We use this to control styles for button groups
-@mixin button-group-style($radius:false, $even:false, $float:$default-float) {
+@mixin button-group-style($radius:false, $even:false, $float:false, $orientation:horizontal) {
> button, .button {
border-#{$default-float}: $button-group-border-width solid;
@@ -52,9 +51,33 @@ $button-group-border-width: 1px !default;
@if $float {
margin: 0;
float: $float;
+ display: list-item;
// Make sure the first child doesn't get the negative margin.
&:first-child { margin-#{$default-float}: 0; }
}
+ @else {
+ margin: 0 -2px;
+ float: $default-float;
+ display: inline-block;
+ }
+
+ @if $orientation == vertical {
+ display:block;
+ margin:0;
+ > button, .button {
+ border-top: $button-group-border-width solid;
+ border-color: rgba(255, 255, 255, 0.5);
+ border-left-width: 0px;
+ margin:0;
+ display: block;
+ }
+
+ &:first-child {
+ button, .button {
+ border-top: 0;
+ }
+ }
+ }
// We use these to control left and right radius on first/last buttons in the group.
@if $radius == true {
@@ -65,11 +88,25 @@ $button-group-border-width: 1px !default;
&:first-child,
&:first-child > a,
&:first-child > button,
- &:first-child > .button { @include side-radius($default-float, $button-radius); }
+ &:first-child > .button {
+ @if $orientation == vertical {
+ @include side-radius(top, $button-radius);
+ }
+ @else {
+ @include side-radius($default-float, $button-radius);
+ }
+ }
&:last-child,
&:last-child > a,
&:last-child > button,
- &:last-child > .button { @include side-radius($opposite-direction, $button-radius); }
+ &:last-child > .button {
+ @if $orientation == vertical {
+ @include side-radius(bottom, $button-radius);
+ }
+ @else {
+ @include side-radius($opposite-direction, $button-radius);
+ }
+ }
}
@else if $radius {
&,
@@ -79,11 +116,25 @@ $button-group-border-width: 1px !default;
&:first-child,
&:first-child > a,
&:first-child > button,
- &:first-child > .button { @include side-radius($default-float, $radius); }
+ &:first-child > .button {
+ @if $orientation == vertical {
+ @include side-radius(top, $radius);
+ }
+ @else {
+ @include side-radius($default-float, $radius);
+ }
+ }
&:last-child,
&:last-child > a,
&:last-child > button,
- &:last-child > .button { @include side-radius($opposite-direction, $radius); }
+ &:last-child > .button {
+ @if $orientation == vertical {
+ @include side-radius(bottom, $radius);
+ }
+ @else {
+ @include side-radius($opposite-direction, $radius);
+ }
+ }
}
// We use this to make the buttons even width across their container
@@ -91,7 +142,6 @@ $button-group-border-width: 1px !default;
width: percentage((100/$even) / 100);
button, .button { width: 100%; }
}
-
}
@include exports("button-group") {
@@ -100,8 +150,40 @@ $button-group-border-width: 1px !default;
& > li { @include button-group-style(); }
+ &.stack {
+ & > li { @include button-group-style($orientation:vertical); float: none; }
+ }
+
+ &.stack-for-small {
+ & > li {
+ @include button-group-style($orientation:horizontal);
+ @media #{$small-only} {
+ @include button-group-style($orientation:vertical);
+ }
+ }
+ }
+
&.radius > * { @include button-group-style($radius:$button-radius, $float:null); }
+ &.radius.stack > * { @include button-group-style($radius:$button-radius, $float:null, $orientation:vertical); }
+ &.radius.stack-for-small > * {
+ @media #{$medium-up} {
+ @include button-group-style($radius:$button-radius, $orientation:horizontal);
+ }
+ @media #{$small-only} {
+ @include button-group-style($radius:$button-radius, $orientation:vertical);
+ }
+ }
+
&.round > * { @include button-group-style($radius:$button-round, $float:null); }
+ &.round.stack > * { @include button-group-style($radius:$button-med, $float:null, $orientation:vertical); }
+ &.round.stack-for-small > * {
+ @media #{$medium-up} {
+ @include button-group-style($radius:$button-round, $orientation:horizontal);
+ }
+ @media #{$small-only} {
+ @include button-group-style($radius:$button-med, $orientation:vertical);
+ }
+ }
@for $i from 2 through 8 {
&.even-#{$i} li { @include button-group-style($even:$i, $float:null); }
@@ -110,7 +192,7 @@ $button-group-border-width: 1px !default;
.button-bar {
@include clearfix;
- .button-group { @include button-group-container($styles:false,$float:true); }
+ .button-group { @include button-group-container($styles:false, $float:true); }
}
}
}
diff --git a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_buttons.scss b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_buttons.scss
index e005b3241e..c3d2def097 100644
--- a/src/sunstone/public/bower_components/foundation/scss/foundation/components/_buttons.scss
+++ b/src/sunstone/public/bower_components/foundation/scss/foundation/components/_buttons.scss
@@ -21,8 +21,8 @@ $button-margin-bottom: rem-calc(20) !default;
// We use these to control button text styles.
$button-font-family: $body-font-family !default;
-$button-font-color: #fff !default;
-$button-font-color-alt: #333 !default;
+$button-font-color: $white !default;
+$button-font-color-alt: $oil !default;
$button-font-tny: rem-calc(11) !default;
$button-font-sml: rem-calc(13) !default;
$button-font-med: rem-calc(16) !default;
@@ -45,6 +45,10 @@ $success-button-bg-hover: scale-color($success-color, $lightness: $button-functi
$success-button-border-color: $success-button-bg-hover !default;
$alert-button-bg-hover: scale-color($alert-color, $lightness: $button-function-factor) !default;
$alert-button-border-color: $alert-button-bg-hover !default;
+$warning-button-bg-hover: scale-color($warning-color, $lightness: $button-function-factor) !default;
+$warning-button-border-color: $warning-button-bg-hover !default;
+$info-button-bg-hover: scale-color($info-color, $lightness: $button-function-factor) !default;
+$info-button-border-color: $info-button-bg-hover !default;
// We use this to set the default radius used throughout the core.
$button-radius: $global-radius !default;
@@ -175,7 +179,7 @@ $button-disabled-cursor: $cursor-default-value !default;
&:focus { background-color: $bg; }
}
- // We can control how much button radius us used.
+ // We can control how much button radius is used.
@if $radius == true { @include radius($button-radius); }
@else if $radius { @include radius($radius); }
@@ -190,12 +194,11 @@ $button-disabled-cursor: $cursor-default-value !default;
// $radius - If true, set to button radius which is $global-radius || explicitly set radius amount in px (ex. $radius:10px). Default:false.
// $full-width - We can set $full-width:true to remove side padding extend width. Default:false.
// $disabled - We can set $disabled:true to create a disabled transparent button. Default:false.
-// $is-input - 's and