├── AddData.php ├── DeleteData.php ├── UpdateData.php ├── UpdateBrowser.php ├── UpdatePlatforms.php ├── DeleteDataError.php ├── UpdateDataError.php ├── CustomUpdateEngineVersion.php ├── media ├── images │ ├── favicon.ico │ ├── sort_asc.png │ ├── DataTables.jpg │ ├── sort_both.png │ ├── sort_desc.png │ ├── unchecked.gif │ ├── back_disabled.jpg │ ├── back_disabled.png │ ├── back_enabled.jpg │ ├── back_enabled.png │ ├── forward_disabled.jpg │ ├── forward_disabled.png │ ├── forward_enabled.jpg │ ├── forward_enabled.png │ ├── sort_asc_disabled.png │ └── sort_desc_disabled.png ├── jAlert │ ├── images │ │ ├── info.gif │ │ ├── title.gif │ │ └── important.gif │ ├── jquery.alerts.css │ └── jquery.alerts.js ├── css │ ├── themes │ │ ├── base │ │ │ └── images │ │ │ │ ├── ui-icons_222222_256x240.png │ │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ │ ├── ui-icons_454545_256x240.png │ │ │ │ ├── ui-icons_888888_256x240.png │ │ │ │ ├── ui-icons_cd0a0a_256x240.png │ │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ └── smoothness │ │ │ └── images │ │ │ ├── ui-icons_222222_256x240.png │ │ │ ├── ui-icons_2e83ff_256x240.png │ │ │ ├── ui-icons_454545_256x240.png │ │ │ ├── ui-icons_888888_256x240.png │ │ │ ├── ui-icons_cd0a0a_256x240.png │ │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png │ ├── demo_validation.css │ ├── demo_page.css │ ├── demo_table.css │ └── demo_table_jui.css └── js │ ├── jquery.jeditable.ajaxUpload.js │ ├── jeditable.checkbox.js │ ├── jquery.jeditable.checkbox.js │ ├── jquery.jeditable.datepicker.js │ ├── jquery.jeditable.time.js │ └── jquery.dataTables.rowGrouping.js ├── UpdateTimeCellError.php ├── EngineVersionList.php ├── ajax_source2.js ├── ajax_source_2.js ├── server_processing.js ├── ajax_object_source.js ├── ajax_source.js ├── issue91.html ├── ajax-inlinebuttons.html ├── ajax-inlinedeletebuttons.html ├── issue20.html ├── ajax.html ├── ajax_object_source.html ├── ajax_mDataProp.html ├── issue19.html ├── checkbox.html ├── ajax_mDataProp.js ├── server_side_processing.html ├── table-actions.html ├── ajax-popupedit.html └── custom-edit-events.html /AddData.php: -------------------------------------------------------------------------------- 1 | 123243 -------------------------------------------------------------------------------- /DeleteData.php: -------------------------------------------------------------------------------- 1 | ok -------------------------------------------------------------------------------- /UpdateData.php: -------------------------------------------------------------------------------- 1 | ok -------------------------------------------------------------------------------- /UpdateBrowser.php: -------------------------------------------------------------------------------- 1 | IE9 -------------------------------------------------------------------------------- /UpdatePlatforms.php: -------------------------------------------------------------------------------- 1 | Win XP -------------------------------------------------------------------------------- /DeleteDataError.php: -------------------------------------------------------------------------------- 1 | This record cannot be deleted (message returned from the server) -------------------------------------------------------------------------------- /UpdateDataError.php: -------------------------------------------------------------------------------- 1 | This record cannot be updated (message returned from the server) -------------------------------------------------------------------------------- /CustomUpdateEngineVersion.php: -------------------------------------------------------------------------------- 1 | This is an error message returned from the server page CustomUpdateEngineVersion.php -------------------------------------------------------------------------------- /media/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/images/favicon.ico -------------------------------------------------------------------------------- /media/images/sort_asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/images/sort_asc.png -------------------------------------------------------------------------------- /media/images/DataTables.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/images/DataTables.jpg -------------------------------------------------------------------------------- /media/images/sort_both.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/images/sort_both.png -------------------------------------------------------------------------------- /media/images/sort_desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/images/sort_desc.png -------------------------------------------------------------------------------- /media/images/unchecked.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/images/unchecked.gif -------------------------------------------------------------------------------- /media/jAlert/images/info.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/jAlert/images/info.gif -------------------------------------------------------------------------------- /media/images/back_disabled.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/images/back_disabled.jpg -------------------------------------------------------------------------------- /media/images/back_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/images/back_disabled.png -------------------------------------------------------------------------------- /media/images/back_enabled.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/images/back_enabled.jpg -------------------------------------------------------------------------------- /media/images/back_enabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/images/back_enabled.png -------------------------------------------------------------------------------- /media/jAlert/images/title.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/jAlert/images/title.gif -------------------------------------------------------------------------------- /media/images/forward_disabled.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/images/forward_disabled.jpg -------------------------------------------------------------------------------- /media/images/forward_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/images/forward_disabled.png -------------------------------------------------------------------------------- /media/images/forward_enabled.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/images/forward_enabled.jpg -------------------------------------------------------------------------------- /media/images/forward_enabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/images/forward_enabled.png -------------------------------------------------------------------------------- /media/jAlert/images/important.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/jAlert/images/important.gif -------------------------------------------------------------------------------- /media/images/sort_asc_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/images/sort_asc_disabled.png -------------------------------------------------------------------------------- /media/images/sort_desc_disabled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/images/sort_desc_disabled.png -------------------------------------------------------------------------------- /UpdateTimeCellError.php: -------------------------------------------------------------------------------- 1 | ERROR On the Google demo site, server-side page for updating time always return this error mesage. Error message should be shown in the popup window. -------------------------------------------------------------------------------- /media/css/themes/base/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/base/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /media/css/themes/base/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/base/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /media/css/themes/base/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/base/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /media/css/themes/base/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/base/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /media/css/themes/base/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/base/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /media/css/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/base/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /media/css/themes/base/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/base/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /media/css/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/base/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /media/css/themes/base/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/base/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /media/css/themes/base/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/base/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /media/css/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/base/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /media/css/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/base/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /media/css/themes/smoothness/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/smoothness/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /media/css/themes/smoothness/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/smoothness/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /media/css/themes/smoothness/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/smoothness/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /media/css/themes/smoothness/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/smoothness/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /media/css/themes/smoothness/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/smoothness/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /media/css/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /media/css/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/smoothness/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /media/css/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /media/css/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /media/css/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/smoothness/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /media/css/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /media/css/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /media/css/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/base/images/ui-bg_highlight-soft_75_cccccc_1x100.png -------------------------------------------------------------------------------- /media/css/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jphustman/jquery-datatables-editable/HEAD/media/css/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png -------------------------------------------------------------------------------- /EngineVersionList.php: -------------------------------------------------------------------------------- 1 | { 2 | '1.1':'1.1', 3 | '1.2':'1.2', 4 | '1.3':'1.3', 5 | '1.4':'1.4', 6 | '1.5':'1.5', 7 | '1.6':'1.6', 8 | '1.7':'1.7', 9 | '1.8':'1.8', 10 | '1.9':'1.9', 11 | '1.10':'1.10', 12 | '1.11':'1.11', 13 | '1.12':'1.12' 14 | } -------------------------------------------------------------------------------- /media/css/demo_validation.css: -------------------------------------------------------------------------------- 1 | /* Validation styles ------ */ 2 | label.error { 3 | background: url("../images/unchecked.gif") no-repeat scroll 0 0 transparent; 4 | color: #EA5200; 5 | font-weight: bold; 6 | padding-bottom: 2px; 7 | padding-left: 16px; 8 | } 9 | 10 | -------------------------------------------------------------------------------- /ajax_source2.js: -------------------------------------------------------------------------------- 1 | { "aaData": [ 2 | ["1","Internet Explorer 4.0","Win 95+","4","X","1"], 3 | ["2","Internet Explorer 5.0","Win 95+","5","C","2"], 4 | ["3","Internet Explorer 5.5","Win 95+","5.5","A","3"], 5 | ["4","Internet Explorer 6","Win 98+","6","A","4"], 6 | ["5","Internet Explorer 7","Win XP SP2+","7","A","5"], 7 | ["6","AOL browser (AOL desktop)","Win XP","6","A","6"] 8 | 9 | ] } -------------------------------------------------------------------------------- /ajax_source_2.js: -------------------------------------------------------------------------------- 1 | { "aaData": [ 2 | ["Trident","Internet Explorer 4.0","Win 95+"], 3 | ["Trident","Internet Explorer 5.0","Win 95+"], 4 | ["Trident","Internet Explorer 5.5","Win 95+"], 5 | ["Trident","Internet Explorer 6","Win 98+"], 6 | ["Trident","Internet Explorer 7","Win XP SP2+"], 7 | ["Misc","Links","Text only"], 8 | ["Misc","Lynx","Text only"], 9 | ["Misc","IE Mobile","Windows Mobile 6"], 10 | ["Misc","PSP browser","PSP"], 11 | ["Other browsers","All others","-"] 12 | ] } -------------------------------------------------------------------------------- /server_processing.js: -------------------------------------------------------------------------------- 1 | {"sEcho": 1, "iTotalRecords": 57, "iTotalDisplayRecords": 57, "aaData": [ ["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"]] } -------------------------------------------------------------------------------- /media/jAlert/jquery.alerts.css: -------------------------------------------------------------------------------- 1 | #popup_container { 2 | font-family: Arial, sans-serif; 3 | font-size: 12px; 4 | min-width: 300px; /* Dialog will be no smaller than this */ 5 | max-width: 600px; /* Dialog will wrap after this width */ 6 | background: #FFF; 7 | border: solid 5px #999; 8 | color: #000; 9 | -moz-border-radius: 5px; 10 | -webkit-border-radius: 5px; 11 | border-radius: 5px; 12 | } 13 | 14 | #popup_title { 15 | font-size: 14px; 16 | font-weight: bold; 17 | text-align: center; 18 | line-height: 1.75em; 19 | color: #666; 20 | background: #CCC url(images/title.gif) top repeat-x; 21 | border: solid 1px #FFF; 22 | border-bottom: solid 1px #999; 23 | cursor: default; 24 | padding: 0em; 25 | margin: 0em; 26 | } 27 | 28 | #popup_content { 29 | background: 16px 16px no-repeat url(images/info.gif); 30 | padding: 1em 1.75em; 31 | margin: 0em; 32 | } 33 | 34 | #popup_content.alert { 35 | background-image: url(images/info.gif); 36 | } 37 | 38 | #popup_content.confirm { 39 | background-image: url(images/important.gif); 40 | } 41 | 42 | #popup_content.prompt { 43 | background-image: url(images/help.gif); 44 | } 45 | 46 | #popup_message { 47 | padding-left: 48px; 48 | } 49 | 50 | #popup_panel { 51 | text-align: center; 52 | margin: 1em 0em 0em 1em; 53 | } 54 | 55 | #popup_prompt { 56 | margin: .5em 0em; 57 | } 58 | h1#popup_title{ margin-top:0em;} -------------------------------------------------------------------------------- /media/js/jquery.jeditable.ajaxUpload.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Ajaxupload for Jeditable 3 | * 4 | * Copyright (c) 2008-2009 Mika Tuupola 5 | * 6 | * Licensed under the MIT license: 7 | * http://www.opensource.org/licenses/mit-license.php 8 | * 9 | * Depends on Ajax fileupload jQuery plugin by PHPLetter guys: 10 | * http://www.phpletter.com/Our-Projects/AjaxFileUpload/ 11 | * 12 | * Project home: 13 | * http://www.appelsiini.net/projects/jeditable 14 | * 15 | * Revision: $Id$ 16 | * 17 | */ 18 | 19 | $.editable.addInputType('ajaxupload', { 20 | /* create input element */ 21 | element : function(settings) { 22 | settings.onblur = 'ignore'; 23 | var input = $(''); 24 | $(this).append(input); 25 | return(input); 26 | }, 27 | content : function(string, settings, original) { 28 | /* do nothing */ 29 | }, 30 | plugin : function(settings, original) { 31 | var form = this; 32 | form.attr("enctype", "multipart/form-data"); 33 | $("button:submit", form).bind('click', function() { 34 | //$(".message").show(); 35 | $.ajaxFileUpload({ 36 | url: settings.target, 37 | secureuri:false, 38 | fileElementId: 'upload', 39 | dataType: 'html', 40 | success: function (data, status) { 41 | $(original).html(data); 42 | original.editing = false; 43 | }, 44 | error: function (data, status, e) { 45 | alert(e); 46 | } 47 | }); 48 | return(false); 49 | }); 50 | } 51 | }); 52 | -------------------------------------------------------------------------------- /media/css/demo_page.css: -------------------------------------------------------------------------------- 1 | 2 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 3 | * General page setup 4 | */ 5 | #dt_example { 6 | font: 80%/1.45em "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; 7 | margin: 0; 8 | padding: 0; 9 | color: #333; 10 | background-color: #fff; 11 | } 12 | 13 | 14 | #dt_example #container { 15 | width: 800px; 16 | margin: 30px auto; 17 | padding: 0; 18 | } 19 | 20 | 21 | #dt_example #footer { 22 | margin: 50px auto 0 auto; 23 | padding: 0; 24 | } 25 | 26 | #dt_example #demo { 27 | margin: 30px auto 0 auto; 28 | } 29 | 30 | #dt_example .demo_jui { 31 | margin: 30px auto 0 auto; 32 | } 33 | 34 | #dt_example .big { 35 | font-size: 1.3em; 36 | font-weight: bold; 37 | line-height: 1.6em; 38 | color: #4E6CA3; 39 | } 40 | 41 | #dt_example .spacer { 42 | height: 20px; 43 | clear: both; 44 | } 45 | 46 | #dt_example .clear { 47 | clear: both; 48 | } 49 | 50 | #dt_example pre { 51 | padding: 15px; 52 | background-color: #F5F5F5; 53 | border: 1px solid #CCCCCC; 54 | } 55 | 56 | #dt_example h1 { 57 | margin-top: 2em; 58 | font-size: 1.3em; 59 | font-weight: normal; 60 | line-height: 1.6em; 61 | color: #4E6CA3; 62 | border-bottom: 1px solid #B0BED9; 63 | clear: both; 64 | } 65 | 66 | #dt_example h2 { 67 | font-size: 1.2em; 68 | font-weight: normal; 69 | line-height: 1.6em; 70 | color: #4E6CA3; 71 | clear: both; 72 | } 73 | 74 | #dt_example a { 75 | color: #0063DC; 76 | text-decoration: none; 77 | } 78 | 79 | #dt_example a:hover { 80 | text-decoration: underline; 81 | } 82 | 83 | #dt_example ul { 84 | color: #4E6CA3; 85 | } 86 | 87 | .css_right { 88 | float: right; 89 | } 90 | 91 | .css_left { 92 | float: left; 93 | } 94 | td.last-updated-cell { border:solid; background-color: yellow !important } 95 | tr.last-added-row { border:solid; } 96 | tr.last-added-row td { background-color: green !important } -------------------------------------------------------------------------------- /media/js/jeditable.checkbox.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Usage: 3 | * 4 | * 1. Install Jeditable: http://www.appelsiini.net/projects/jeditable 5 | * 2. Add the code below to your javascript. 6 | * 3. Call it like this: 7 | * 8 | * $('p').editable('/edit', { 9 | * type: 'checkbox', 10 | * cancel: 'Cancel', 11 | * submit: 'OK', 12 | * checkbox: { trueValue: 'Yes', falseValue: 'No' } 13 | * }); 14 | * 15 | * Upon clicking on the
, it's content will be replaced by a checkbox. 16 | * If the text within the paragraph is 'Yes', the checkbox will be checked 17 | * by default, otherwise it will be unchecked. 18 | * 19 | * trueValue is submitted when the checkbox is checked and falseValue otherwise. 20 | * 21 | * Have fun! 22 | * 23 | * Peter Bücker (spam.naag@gmx.net) 24 | * http://www.pastie.org/893364 25 | */ 26 | 27 | $.editable.addInputType('checkbox', { 28 | element: function(settings, original) { 29 | $(this).append(''); 30 | var hidden = $(''); 31 | $(this).append(hidden); 32 | return(hidden); 33 | }, 34 | 35 | submit: function(settings, original) { 36 | settings = $.extend({ checkbox: { 37 | trueValue: '1', 38 | falseValue: '0' 39 | }}, settings); 40 | 41 | if ($(':checkbox', this).is(':checked')) { 42 | $(':hidden', this).val(settings.checkbox.trueValue); 43 | } else { 44 | $(':hidden', this).val(settings.checkbox.falseValue); 45 | } 46 | }, 47 | 48 | content: function(data, settings, original) { 49 | settings = $.extend({ checkbox: { 50 | trueValue: '1', 51 | falseValue: '0' 52 | }}, settings); 53 | 54 | if (data == settings.checkbox.trueValue) { 55 | $(':checkbox', this).attr('checked', 'checked'); 56 | } else { 57 | $(':checkbox', this).removeAttr('checked'); 58 | } 59 | } 60 | }); 61 | 62 | -------------------------------------------------------------------------------- /media/js/jquery.jeditable.checkbox.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Usage: 3 | * 4 | * 1. Install Jeditable: http://www.appelsiini.net/projects/jeditable 5 | * 2. Add the code below to your javascript. 6 | * 3. Call it like this: 7 | * 8 | * $('p').editable('/edit', { 9 | * type: 'checkbox', 10 | * cancel: 'Cancel', 11 | * submit: 'OK', 12 | * checkbox: { trueValue: 'Yes', falseValue: 'No' } 13 | * }); 14 | * 15 | * Upon clicking on the
, it's content will be replaced by a checkbox. 16 | * If the text within the paragraph is 'Yes', the checkbox will be checked 17 | * by default, otherwise it will be unchecked. 18 | * 19 | * trueValue is submitted when the checkbox is checked and falseValue otherwise. 20 | * 21 | * Have fun! 22 | * 23 | * Peter Bücker (spam.naag@gmx.net) 24 | * http://www.pastie.org/893364 25 | */ 26 | 27 | $.editable.addInputType('checkbox', { 28 | element: function(settings, original) { 29 | $(this).append(''); 30 | var hidden = $(''); 31 | $(this).append(hidden); 32 | return(hidden); 33 | }, 34 | 35 | submit: function(settings, original) { 36 | settings = $.extend({ checkbox: { 37 | trueValue: '1', 38 | falseValue: '0' 39 | }}, settings); 40 | 41 | if ($(':checkbox', this).is(':checked')) { 42 | $(':hidden', this).val(settings.checkbox.trueValue); 43 | } else { 44 | $(':hidden', this).val(settings.checkbox.falseValue); 45 | } 46 | }, 47 | 48 | content: function(data, settings, original) { 49 | settings = $.extend({ checkbox: { 50 | trueValue: '1', 51 | falseValue: '0' 52 | }}, settings); 53 | 54 | if (data == settings.checkbox.trueValue) { 55 | $(':checkbox', this).attr('checked', 'checked'); 56 | } else { 57 | $(':checkbox', this).removeAttr('checked'); 58 | } 59 | } 60 | }); 61 | 62 | -------------------------------------------------------------------------------- /ajax_object_source.js: -------------------------------------------------------------------------------- 1 | { 2 | "sEcho": 1, 3 | "iTotalRecords": "57", 4 | "iTotalDisplayRecords": "57", 5 | "aaData": [ 6 | { 7 | "DT_RowId": "row_7", 8 | "DT_RowClass": "gradeA", 9 | "0": "Gecko", 10 | "1": "Firefox 1.0", 11 | "2": "Win 98+ / OSX.2+", 12 | "3": "1.7", 13 | "4": "A" 14 | }, 15 | { 16 | "DT_RowId": "row_8", 17 | "DT_RowClass": "gradeA", 18 | "0": "Gecko", 19 | "1": "Firefox 1.5", 20 | "2": "Win 98+ / OSX.2+", 21 | "3": "1.8", 22 | "4": "A" 23 | }, 24 | { 25 | "DT_RowId": "row_9", 26 | "DT_RowClass": "gradeA", 27 | "0": "Gecko", 28 | "1": "Firefox 2.0", 29 | "2": "Win 98+ / OSX.2+", 30 | "3": "1.8", 31 | "4": "A" 32 | }, 33 | { 34 | "DT_RowId": "row_10", 35 | "DT_RowClass": "gradeA", 36 | "0": "Gecko", 37 | "1": "Firefox 3.0", 38 | "2": "Win 2k+ / OSX.3+", 39 | "3": "1.9", 40 | "4": "A" 41 | }, 42 | { 43 | "DT_RowId": "row_11", 44 | "DT_RowClass": "gradeA", 45 | "0": "Gecko", 46 | "1": "Camino 1.0", 47 | "2": "OSX.2+", 48 | "3": "1.8", 49 | "4": "A" 50 | }, 51 | { 52 | "DT_RowId": "row_12", 53 | "DT_RowClass": "gradeA", 54 | "0": "Gecko", 55 | "1": "Camino 1.5", 56 | "2": "OSX.3+", 57 | "3": "1.8", 58 | "4": "A" 59 | }, 60 | { 61 | "DT_RowId": "row_13", 62 | "DT_RowClass": "gradeA", 63 | "0": "Gecko", 64 | "1": "Netscape 7.2", 65 | "2": "Win 95+ / Mac OS 8.6-9.2", 66 | "3": "1.7", 67 | "4": "A" 68 | }, 69 | { 70 | "DT_RowId": "row_14", 71 | "DT_RowClass": "gradeA", 72 | "0": "Gecko", 73 | "1": "Netscape Browser 8", 74 | "2": "Win 98SE+", 75 | "3": "1.7", 76 | "4": "A" 77 | }, 78 | { 79 | "DT_RowId": "row_15", 80 | "DT_RowClass": "gradeA", 81 | "0": "Gecko", 82 | "1": "Netscape Navigator 9", 83 | "2": "Win 98+ / OSX.2+", 84 | "3": "1.8", 85 | "4": "A" 86 | }, 87 | { 88 | "DT_RowId": "row_16", 89 | "DT_RowClass": "gradeA", 90 | "0": "Gecko", 91 | "1": "Mozilla 1.0", 92 | "2": "Win 95+ / OSX.1+", 93 | "3": "1", 94 | "4": "A" 95 | } 96 | ] 97 | } -------------------------------------------------------------------------------- /media/js/jquery.jeditable.datepicker.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Datepicker for Jeditable 3 | * 4 | * Copyright (c) 2011 Piotr 'Qertoip' Włodarek 5 | * 6 | * Licensed under the MIT license: 7 | * http://www.opensource.org/licenses/mit-license.php 8 | * 9 | * Depends on jQuery UI Datepicker 10 | * 11 | * Project home: 12 | * http://github.com/qertoip/jeditable-datepicker 13 | * 14 | */ 15 | 16 | // add :focus selector 17 | jQuery.expr[':'].focus = function( elem ) { 18 | return elem === document.activeElement && ( elem.type || elem.href ); 19 | }; 20 | 21 | $.editable.addInputType( 'datepicker', { 22 | 23 | /* create input element */ 24 | element: function( settings, original ) { 25 | var form = $( this ), 26 | input = $( '' ); 27 | input.attr( 'autocomplete','off' ); 28 | form.append( input ); 29 | return input; 30 | }, 31 | 32 | /* attach jquery.ui.datepicker to the input element */ 33 | plugin: function( settings, original ) { 34 | var form = this, 35 | input = form.find( "input" ); 36 | 37 | // Don't cancel inline editing onblur to allow clicking datepicker 38 | settings.onblur = 'nothing'; 39 | 40 | datepicker = { 41 | onSelect: function() { 42 | // clicking specific day in the calendar should 43 | // submit the form and close the input field 44 | form.submit(); 45 | }, 46 | 47 | onClose: function() { 48 | setTimeout( function() { 49 | if ( !input.is( ':focus' ) ) { 50 | // input has NO focus after 150ms which means 51 | // calendar was closed due to click outside of it 52 | // so let's close the input field without saving 53 | original.reset( form ); 54 | } else { 55 | // input still HAS focus after 150ms which means 56 | // calendar was closed due to Enter in the input field 57 | // so lets submit the form and close the input field 58 | form.submit(); 59 | } 60 | 61 | // the delay is necessary; calendar must be already 62 | // closed for the above :focus checking to work properly; 63 | // without a delay the form is submitted in all scenarios, which is wrong 64 | }, 150 ); 65 | } 66 | }; 67 | 68 | if (settings.datepicker) { 69 | jQuery.extend(datepicker, settings.datepicker); 70 | } 71 | 72 | input.datepicker(datepicker); 73 | } 74 | } ); 75 | 76 | -------------------------------------------------------------------------------- /media/js/jquery.jeditable.time.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Timepicker for Jeditable 3 | * 4 | * Copyright (c) 2008-2009 Mika Tuupola 5 | * 6 | * Licensed under the MIT license: 7 | * http://www.opensource.org/licenses/mit-license.php 8 | * 9 | * Project home: 10 | * http://www.appelsiini.net/projects/jeditable 11 | * 12 | * Revision: $Id$ 13 | * 14 | */ 15 | 16 | $.editable.addInputType('time', { 17 | /* Create input element. */ 18 | element : function(settings, original) { 19 | /* Create and pulldowns for hours and minutes. Append them to */ 20 | /* form which is accessible as variable this. */ 21 | var hourselect = $(''); 22 | var minselect = $(''); 23 | 24 | for (var hour=0; hour <= 23; hour++) { 25 | if (hour < 10) { 26 | hour = '0' + hour; 27 | } 28 | var option = $('').val(hour).append(hour); 29 | hourselect.append(option); 30 | } 31 | $(this).append(hourselect); 32 | 33 | for (var min=0; min <= 45; min = parseInt(min, 10) + 15) { 34 | if (min < 10) { 35 | min = '0' + min; 36 | } 37 | var option = $('').val(min).append(min); 38 | minselect.append(option); 39 | } 40 | $(this).append(minselect); 41 | 42 | /* Last create an hidden input. This is returned to plugin. It will */ 43 | /* later hold the actual value which will be submitted to server. */ 44 | var hidden = $(''); 45 | $(this).append(hidden); 46 | return(hidden); 47 | }, 48 | /* Set content / value of previously created input element. */ 49 | content : function(string, settings, original) { 50 | 51 | /* Select correct hour and minute in pulldowns. */ 52 | var hour = parseInt(string.substr(0,2), 10); 53 | var min = parseInt(string.substr(3,2), 10); 54 | 55 | $('#hour_', this).children().each(function() { 56 | if (hour == $(this).val()) { 57 | $(this).attr('selected', 'selected'); 58 | } 59 | }); 60 | $('#min_', this).children().each(function() { 61 | if (min == $(this).val()) { 62 | $(this).attr('selected', 'selected'); 63 | } 64 | }); 65 | 66 | }, 67 | /* Call before submit hook. */ 68 | submit: function (settings, original) { 69 | /* Take values from hour and minute pulldowns. Create string such as */ 70 | /* 13:45 from them. Set value of the hidden input field to this string. */ 71 | var value = $('#hour_').val() + ':' + $('#min_').val(); 72 | $('input', this).val(value); 73 | } 74 | }); 75 | -------------------------------------------------------------------------------- /ajax_source.js: -------------------------------------------------------------------------------- 1 | { "aaData": [ 2 | ["1","Internet Explorer 4.0","Win 95+","4","X"], 3 | ["2","Internet Explorer 5.0","Win 95+","5","C"], 4 | ["3","Internet Explorer 5.5","Win 95+","5.5","A"], 5 | ["4","Internet Explorer 6","Win 98+","6","A"], 6 | ["5","Internet Explorer 7","Win XP SP2+","7","A"], 7 | ["6","AOL browser (AOL desktop)","Win XP","6","A"], 8 | ["7","Firefox 1.0","Win 98+ / OSX.2+","1.7","A"], 9 | ["8","Firefox 1.5","Win 98+ / OSX.2+","1.8","A"], 10 | ["9","Firefox 2.0","Win 98+ / OSX.2+","1.8","A"], 11 | ["10","Firefox 3.0","Win 2k+ / OSX.3+","1.9","A"], 12 | ["11","Camino 1.0","OSX.2+","1.8","A"], 13 | ["20","Camino 1.5","OSX.3+","1.8","A"], 14 | ["13","Netscape 7.2","Win 95+ / Mac OS 8.6-9.2","1.7","A"], 15 | ["14","Netscape Browser 8","Win 98SE+","1.7","A"], 16 | ["15","Netscape Navigator 9","Win 98+ / OSX.2+","1.8","A"], 17 | ["16","Mozilla 1.0","Win 95+ / OSX.1+",1,"A"], 18 | ["17","Mozilla 1.1","Win 95+ / OSX.1+",1.1,"A"], 19 | ["18","Mozilla 1.2","Win 95+ / OSX.1+",1.2,"A"], 20 | ["19","Mozilla 1.3","Win 95+ / OSX.1+",1.3,"A"], 21 | ["21","Mozilla 1.4","Win 95+ / OSX.1+",1.4,"A"], 22 | ["22","Mozilla 1.5","Win 95+ / OSX.1+",1.5,"A"], 23 | ["23","Mozilla 1.6","Win 95+ / OSX.1+",1.6,"A"], 24 | ["24","Mozilla 1.7","Win 98+ / OSX.1+",1.7,"A"], 25 | ["25","Mozilla 1.8","Win 98+ / OSX.1+",1.8,"A"], 26 | ["26","Seamonkey 1.1","Win 98+ / OSX.2+","1.8","A"], 27 | ["27","Epiphany 2.20","Gnome","1.8","A"], 28 | ["28","Safari 1.2","OSX.3","125.5","A"], 29 | ["29","Safari 1.3","OSX.3","312.8","A"], 30 | ["30","Safari 2.0","OSX.4+","419.3","A"], 31 | ["31","Safari 3.0","OSX.4+","522.1","A"], 32 | ["32","OmniWeb 5.5","OSX.4+","420","A"], 33 | ["33","iPod Touch / iPhone","iPod","420.1","A"], 34 | ["34","S60","S60","413","A"], 35 | ["35","Opera 7.0","Win 95+ / OSX.1+","-","A"], 36 | ["36","Opera 7.5","Win 95+ / OSX.2+","-","A"], 37 | ["37","Opera 8.0","Win 95+ / OSX.2+","-","A"], 38 | ["38","Opera 8.5","Win 95+ / OSX.2+","-","A"], 39 | ["39","Opera 9.0","Win 95+ / OSX.3+","-","A"], 40 | ["40","Opera 9.2","Win 88+ / OSX.3+","-","A"], 41 | ["41","Opera 9.5","Win 88+ / OSX.3+","-","A"], 42 | ["42","Opera for Wii","Wii","-","A"], 43 | ["43","Nokia N800","N800","-","A"], 44 | ["44","Nintendo DS browser","Nintendo DS","8.5","C/A1"], 45 | ["45","Konqureror 3.1","KDE 3.1","3.1","C"], 46 | ["46","Konqureror 3.3","KDE 3.3","3.3","A"], 47 | ["47","Konqureror 3.5","KDE 3.5","3.5","A"], 48 | ["48","Internet Explorer 4.5","Mac OS 8-9","-","X"], 49 | ["49","Internet Explorer 5.1","Mac OS 7.6-9","1","C"], 50 | ["50","Internet Explorer 5.2","Mac OS 8-X","1","C"], 51 | ["51","NetFront 3.1","Embedded devices","-","C"], 52 | ["52","NetFront 3.4","Embedded devices","-","A"], 53 | ["53","Dillo 0.8","Embedded devices","-","X"], 54 | ["54","Links","Text only","-","X"], 55 | ["55","Lynx","Text only","-","X"], 56 | ["56","IE Mobile","Windows Mobile 6","-","C"], 57 | ["57","PSP browser","PSP","-","C"], 58 | ["58","All others","-","-","U"] 59 | ] } -------------------------------------------------------------------------------- /issue91.html: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | 5 | 6 | 7 | 8 |87 |
88 | 89 | 90 | 91 | 92 | 93 || Rendering engine | 111 |Browser | 112 |Platform(s) | 113 |Engine version | 114 |CSS grade | 115 |
|---|---|---|---|---|
| Rendering engine | 121 |Browser | 122 |Platform(s) | 123 |Engine version | 124 |CSS grade | 125 |
| Trident | 131 | 132 |Internet 133 | Explorer 4.0 | 134 |Win 95+ | 135 |4 | 136 |X | 137 |
| WebKit | 140 | 141 |Internet 142 | Explorer 5.0 | 143 |Win 95+ | 144 |5 | 145 |C | 146 |
| Gecko | 149 | 150 |Internet 151 | Explorer 5.5 | 152 |Win 95+ | 153 |5.5 | 154 |A | 155 |
| Tasman | 158 | 159 |Internet 160 | Explorer 6 | 161 |Win 98+ | 162 |6 | 163 |A | 164 |
| Trident | 167 | 168 |Internet Explorer 7 | 169 |Win XP SP2+ | 170 |7 | 171 |A | 172 |
| Trident | 175 | 176 |AOL browser (AOL desktop) | 177 |Win XP | 178 |6 | 179 |A | 180 |
81 |
82 | 83 | 84 | 85 | 86 | 87 || ID | 120 |Browser | 121 |Platform(s) | 122 |Engine version | 123 |CSS grade | 124 |Edit | 125 |
|---|---|---|---|---|---|
| ID | 131 |Browser | 132 |Platform(s) | 133 |Engine version | 134 |CSS grade | 135 |Edit | 136 |
81 |
82 | 83 | 84 | 85 | 86 | 87 || ID | 120 |Browser | 121 |Platform(s) | 122 |Engine version | 123 |CSS grade | 124 |Edit | 125 |
|---|---|---|---|---|---|
| ID | 131 |Browser | 132 |Platform(s) | 133 |Engine version | 134 |CSS grade | 135 |Edit | 136 |
96 |
97 | 98 | 99 | 100 | 101 | 102 || ID | 140 |Browser | 141 |Platform(s) | 142 |Engine version | 143 |CSS grade | 144 |
|---|---|---|---|---|
| ID | 150 |Browser | 151 |Platform(s) | 152 |Engine version | 153 |CSS grade | 154 |
| 1 | 160 | 161 |Internet 162 | Explorer 4.0 | 163 |Win 95+ | 164 |4 | 165 |X | 166 |
| 2 | 169 | 170 |Internet 171 | Explorer 5.0 | 172 |Win 95+ | 173 |5 | 174 |C | 175 |
| 3 | 178 | 179 |Internet 180 | Explorer 5.5 | 181 |Win 95+ | 182 |5.5 | 183 |A | 184 |
| 4 | 187 | 188 |Internet 189 | Explorer 7 | 190 |Win 98+ | 191 |6 | 192 |A | 193 |
| 5 | 196 | 197 |Internet Explorer 8 | 198 |Win XP SP2+ | 199 |7 | 200 |A | 201 |
| 9 | 204 | 205 |AOL browser (AOL desktop) | 206 |Win XP | 207 |6 | 208 |A | 209 |
69 | DataTable Editable plugin works with DataTables that dinamically read cells that should be displayed via ajax call. In this example, cells are not placed in the source 70 | of the page - they is loaded from the server-side via JSON request. Once cells are loaded from the source via AJAX call, they are processed on the client side.
71 | 72 | 73 | 74 | 75 | 76 || ID | 108 |Browser | 109 |Platform(s) | 110 |Engine version | 111 |CSS grade | 112 |
|---|---|---|---|---|
| ID | 118 |Browser | 119 |Platform(s) | 120 |Engine version | 121 |CSS grade | 122 |
In the initialization code you will need to pass URL of the data source that contains data that will be loaded. Processing option is placed just to show "Processing" dialog while the action is performing. 135 | Note that first column will be considered as an id and value of the first cell will added as an id of the row. You can hide this column if you want.
136 |
137 | $(document).ready( function () {
138 | $('#example').dataTable({
139 | "bProcessing": true,
140 | "sAjaxSource": "ajax_source.js"
141 | }
142 | ).makeEditable();
143 | } );
144 |
145 | Html code is same as in the other cases, however you will need to add one change into the "Add" form. To inject id of the new record you will to put hidden field with value DATAROWID that will be mapped to the ID colum (rel=0). Plugin will take the id returned from server and put it as an id attribute of the row. 147 |
148 |149 | 150 | 151 | <!-- Custom form for adding new records with included place holder for id column--> 152 | <form id="formAddNewRow" action="#" title="Add new record"> 153 | ... 154 | <input type="hidden" name="id" id="id" rel="0" value="DATAROWID" rel="0" /> 155 | ... 156 | </form> 157 |158 | 159 |
69 | DataTable Editable plugin works with DataTables that dinamically read cells that should be displayed via ajax call. In this example, cells are not placed in the source 70 | of the page - they is loaded from the server-side via JSON request. Once cells are loaded from the source via AJAX call, they are processed on the client side.
71 | 72 | 73 | 74 | 75 | 76 || Engine | 111 |Browser | 112 |Platform(s) | 113 |Engine version | 114 |CSS grade | 115 |
|---|---|---|---|---|
| Engine | 121 |Browser | 122 |Platform(s) | 123 |Engine version | 124 |CSS grade | 125 |
In the initialization code you will need to pass URL of the data source that contains data that will be loaded. Processing option is placed just to show "Processing" dialog while the action is performing. 138 | Note that first column will be considered as an id and value of the first cell will added as an id of the row. You can hide this column if you want.
139 |
140 | $(document).ready( function () {
141 | $('#example').dataTable({
142 | "bProcessing": true,
143 | "sAjaxSource": "ajax_source.js"
144 | }
145 | ).makeEditable();
146 | } );
147 |
148 | Html code is same as in the other cases, however you will need to add one change into the "Add" form. To inject id of the new record you will to put hidden field with value DATAROWID that will be mapped to the ID colum (rel=0). Plugin will take the id returned from server and put it as an id attribute of the row. 150 |
151 |152 | 153 | 154 | <!-- Custom form for adding new records with included place holder for id column--> 155 | <form id="formAddNewRow" action="#" title="Add new record"> 156 | ... 157 | <input type="hidden" name="id" id="id" rel="0" value="DATAROWID" rel="0" /> 158 | ... 159 | </form> 160 |161 | 162 |
75 | DataTable Editable plugin works with DataTables that dinamically read cells that should be displayed via ajax call. In this example, cells are not placed in the source 76 | of the page - they is loaded from the server-side via JSON request. Once cells are loaded from the source via AJAX call, they are processed on the client side.
77 | 78 | 79 | 80 | 81 | 82 || Engine | 117 |Browser | 118 |Platform(s) | 119 |Engine version | 120 |CSS grade | 121 |
|---|---|---|---|---|
| Engine | 127 |Browser | 128 |Platform(s) | 129 |Engine version | 130 |CSS grade | 131 |
In the initialization code you will need to pass URL of the data source that contains data that will be loaded. Processing option is placed just to show "Processing" dialog while the action is performing. 144 | Note that first column will be considered as an id and value of the first cell will added as an id of the row. You can hide this column if you want.
145 |
146 | $(document).ready( function () {
147 | $('#example').dataTable({
148 | "bProcessing": true,
149 | "sAjaxSource": "ajax_source.js"
150 | }
151 | ).makeEditable();
152 | } );
153 |
154 | Html code is same as in the other cases, however you will need to add one change into the "Add" form. To inject id of the new record you will to put hidden field with value DATAROWID that will be mapped to the ID colum (rel=0). Plugin will take the id returned from server and put it as an id attribute of the row. 156 |
157 |158 | 159 | 160 | <!-- Custom form for adding new records with included place holder for id column--> 161 | <form id="formAddNewRow" action="#" title="Add new record"> 162 | ... 163 | <input type="hidden" name="id" id="id" rel="0" value="DATAROWID" rel="0" /> 164 | ... 165 | </form> 166 |167 | 168 |
116 |
117 | 118 | 119 | 120 | 121 | 122 || Rendering engine | 182 |Browser | 183 |Platform(s) | 184 |Engine version | 185 |
|---|---|---|---|
| Trident | 190 | 191 |Internet 192 | Explorer 4.0 | 193 |Win 95+ | 194 |4 | 195 | 196 |
| Trident | 199 | 200 |Internet 201 | Explorer 5.0 | 202 |Win 95+ | 203 |4 | 204 | 205 |
| Trident | 208 | 209 |Internet 210 | Explorer 5.5 | 211 |Win 95+ | 212 |5.5 | 213 | 214 |
| Trident | 217 | 218 |Internet 219 | Explorer 6 | 220 |Win 98+ | 221 |6 | 222 | 223 |
| Trident | 226 | 227 |Internet Explorer 7 | 228 |Win XP SP2+ | 229 |7 | 230 | 231 |
| Trident | 234 | 235 |AOL browser (AOL desktop) | 236 |Win XP | 237 |6 | 238 | 239 |
| Rendering engine | 252 |Browser | 253 |Platform(s) | 254 |Engine version | 255 |CSS grade | 256 |
|---|---|---|---|---|
| Rendering engine | 262 |Browser | 263 |Platform(s) | 264 |Engine version | 265 |CSS grade | 266 |
| Trident | 272 | 273 |Internet 274 | Explorer 4.0 | 275 |Win 95+ | 276 |4 | 277 |X | 278 |
| Trident | 281 | 282 |Internet 283 | Explorer 5.0 | 284 |Win 95+ | 285 |5 | 286 |C | 287 |
| Trident | 290 | 291 |Internet 292 | Explorer 5.5 | 293 |Win 95+ | 294 |5.5 | 295 |A | 296 |
| Trident | 299 | 300 |Internet 301 | Explorer 6 | 302 |Win 98+ | 303 |6 | 304 |A | 305 |
| Trident | 308 | 309 |Internet Explorer 7 | 310 |Win XP SP2+ | 311 |7 | 312 |A | 313 |
| Trident | 316 | 317 |AOL browser (AOL desktop) | 318 |Win XP | 319 |6 | 320 |A | 321 |
| Is supported | 116 |Browser | 117 |Platform(s) | 118 |Engine version | 119 |CSS grade | 120 |
|---|---|---|---|---|
| Rendering engine | 126 |Browser | 127 |Platform(s) | 128 |Engine version | 129 |CSS grade | 130 |
| No | 136 |Internet Explorer 4.0 | 137 |Win 95+ (Entity: &) | 138 |4 | 139 | 140 |X | 141 |
| No | 144 |Internet Explorer 5.0 | 145 |Win 95+ | 146 |5 | 147 | 148 |C | 149 |
| Yes | 153 |Firefox 1.5 | 154 |Win 98+ / OSX.2+ | 155 |1.8 | 156 | 157 |A | 158 |
| Yes | 161 |Firefox 2.0 | 162 |Win 98+ / OSX.2+ | 163 |1.8 | 164 | 165 |A | 166 |
| Yes | 169 |Firefox 3.0 | 170 |Win 2k+ / OSX.3+ | 171 |1.9 | 172 | 173 |A | 174 |
| Yes | 177 |Camino 1.0 | 178 |OSX.2+ | 179 |1.8 | 180 | 181 |A | 182 |
| Yes | 185 |Camino 1.5 | 186 |OSX.3+ | 187 |1.8 | 188 | 189 |A | 190 |
| Yes | 193 |Netscape 7.2 | 194 |Win 95+ / Mac OS 8.6-9.2 | 195 |1.7 | 196 | 197 |A | 198 |
| Yes | 201 |Netscape Browser 8 | 202 |Win 98SE+ | 203 |1.7 | 204 | 205 |A | 206 |
In the initialization code you will need to pass definitions of the columns according to the JQuery JEditable plugin rules.
220 |$(document).ready( function () {
221 | $('#example').dataTable().makeEditable({
222 | sUpdateURL: "UpdateData.php",
223 | "aoColumns": [
224 | { type:'checkbox',
225 | onblur: 'submit',
226 | checkbox: { trueValue: 'Yes', falseValue: 'No' }
227 | },
228 | {
229 | },
230 | {
231 | indicator: 'Saving platforms...',
232 | tooltip: 'Click to edit platforms',
233 | type: 'textarea',
234 | submit:'Save changes',
235 | fnOnCellUpdated: function(sStatus, sValue, settings){
236 | alert("(Cell Callback): Cell is updated with value " + sValue);
237 | }
238 | },
239 | {
240 | //indicator: 'Saving Engine Version...',
241 | tooltip: 'Click to select engine version',
242 | loadtext: 'loading...',
243 | type: 'select',
244 | onblur: 'cancel',
245 | submit: 'Ok',
246 | loadurl: 'EngineVersionList.php',
247 | loadtype: 'GET',
248 | sUpdateURL: "CustomUpdateEngineVersion.php"
249 | },
250 | {
251 | indicator: 'Saving CSS Grade...',
252 | tooltip: 'Click to select CSS Grade',
253 | loadtext: 'loading...',
254 | type: 'select',
255 | onblur: 'submit',
256 | data: "{'':'Please select...', 'A':'A','B':'B','C':'C'}",
257 | sUpdateURL: function(value, settings){
258 | alert("Custom function for posting results");
259 | return value;
260 |
261 | }
262 | }
263 | ]
264 | });
265 | })
266 |
267 |
268 | 112 | DataTable Editable plugin works with DataTables in the server-side processing mode. In this example, cells are not placed in the source 113 | of the page - they are loaded from the server-side via JSON. This mode is similar with the ajax mode because in both cases rows are loaded via ajax call. However in the ajax mode, once data is loaded sorting, filtering and pagination is done on the client side, and in this mode each time user makes any action new ajax request is sent to the server.
114 |There is just one important thing you need to notice. If you set aoColumns definitions in dataTable and editable number of columns should not match. 115 | In the dataTable plugin number of aoColumns elements should be same as the number of columns in the table. However, in the dataTables editable plugin 116 | number of aoColumns is equal to the number of visible columns. If you have five columns in the dataTable and first one is not visible, 117 | in the dataTables editable aoColumns array you will have four elements because each of the elements is applied to the visible cells.
118 | 119 || Rendering engine | 127 |Browser | 128 |Platform(s) | 129 |Engine version | 130 |CSS grade | 131 |
|---|---|---|---|---|
| Rendering engine | 137 |Browser | 138 |Platform(s) | 139 |Engine version | 140 |CSS grade | 141 |
In the initialization code you will need to pass definitions of the columns according to the JQuery DataTables server-side processing rules. Note that this is a "fake" server-side processing becuse the same .js file is called each time. Google code do not host php server page therefore on the demo page is used just a simulation.
154 |
155 | $(document).ready( function () {
156 | $('#example').dataTable({
157 | "bServerSide": true,
158 | "sAjaxSource": "server_processing.js",
159 | "aoColumns":[
160 | {
161 | "bVisible" : false
162 | },
163 | {},
164 | {},
165 | {},
166 | {}
167 | ]
168 | }
169 | ).makeEditable({
170 | sUpdateURL: function(value, settings)
171 | {
172 | //Simulation of server-side response using a callback function
173 | return(value);
174 | },
175 | "aoColumns": [
176 | {
177 | },
178 | {
179 | indicator: 'Saving platforms...',
180 | tooltip: 'Click to edit platforms',
181 | type: 'textarea',
182 | cssclass: 'required',
183 | submit:'Save changes'
184 | },
185 | {
186 | indicator: 'Saving Engine Version...',
187 | tooltip: 'Click to select engine version',
188 | loadtext: 'loading...',
189 | type: 'select',
190 | onblur: 'cancel',
191 | submit: 'Ok',
192 | loadurl: 'EngineVersionList.php',
193 | loadtype: 'GET'
194 | },
195 | {
196 | indicator: 'Saving CSS Grade...',
197 | tooltip: 'Click to select CSS Grade',
198 | loadtext: 'loading...',
199 | type: 'select',
200 | onblur: 'submit',
201 | data: "{'':'Please select...', 'A':'A','B':'B','C':'C'}"
202 | }
203 | ]
204 | });
205 | } );
206 |
207 |
208 | 90 | You can associate custom actions buttons on the particular table rows. Action buttons can be used to edit entire or partial row elements in the popup edit form. 91 |
92 | 93 | 94 | 95 | 96 | 97 || Browser | 171 |Platform(s) | 172 |Engine version | 173 |CSS grade | 174 |Edit | 175 |
|---|---|---|---|---|
| Browser | 182 |Platform(s) | 183 |Engine version | 184 |CSS grade | 185 |Edit | 186 |
| 192 | Internet Explorer 4.0 193 | | 194 |195 | Win 95+ 196 | | 197 |198 | 4 199 | | 200 |201 | X 202 | | 203 |204 | Edit Browser 205 | | 206 |
| 209 | Internet Explorer 5.0 210 | | 211 |212 | Win 95+ 213 | | 214 |215 | 5 216 | | 217 |218 | C 219 | | 220 |221 | Edit Browser 222 | | 223 |
| 226 | Internet Explorer 5.5 227 | | 228 |229 | Win 95+ 230 | | 231 |232 | 5.5 233 | | 234 |235 | A 236 | | 237 |238 | Edit Browser 239 | | 240 |
| 243 | Internet Explorer 6 244 | | 245 |246 | Win 98+ 247 | | 248 |249 | 6 250 | | 251 |252 | A 253 | | 254 |255 | Edit Browser 256 | | 257 |
| 260 | Internet Explorer 7 261 | | 262 |263 | Win XP SP2+ 264 | | 265 |266 | 7 267 | | 268 |269 | A 270 | | 271 |272 | Edit Browser 273 | | 274 |
| 277 | AOL browser (AOL desktop) 278 | | 279 |280 | Win XP 281 | | 282 |283 | 6 284 | | 285 |286 | A 287 | | 288 |289 | Edit Browser 290 | | 291 |
In the table should be placed links or butons with class names in the format table-action-
303 | <tr id="6"> 304 | <td> 305 | AOL browser (AOL desktop) 306 | </td> 307 | <td> 308 | Win XP 309 | </td> 310 | <td> 311 | 6 312 | </td> 313 | <td> 314 | A 315 | </td> 316 | <td> 317 | <a class="table-action-EditBrowser">Edit Browser</a> 318 | <button type="button" class="table-action-EditPlatforms">Edit Platforms</button> 319 | </td> 320 | </tr> 321 | 322 | 323 |324 |
In the page should be added forms that will be used for editing records. Elements in the form should have rel attributes that matches table columns. Olso id elements with classes DATARECORDID and ROWID are placed in the form their values will be populated with id of the record and id of the row that will be edited.
325 |326 | <form id="formEditPlatforms" action="UpdatePlatforms.php" title="Update Platforms"> 327 | <input type="hidden" class="DATARECORDID" name="id" /> 328 | <input type="hidden" class="ROWID" name="row_id" /> 329 | <label for="platforms">Platform(s)</label><br /> 330 | <textarea name="platforms" id="Textarea1" class="required" rel="1"></textarea> 331 | <br /> 332 | <button id="formEditPlatformsOk" type="submit">Ok</button> 333 | <button id="formEditPlatformsCancel" type="button">Cancel</button> 334 | </form> 335 |336 | 337 | 338 |
In the plugin initialization code should be placed definitions of the action.
340 |
341 | $('#example').dataTable()
342 | .makeEditable({
343 | aoTableActions: [
344 | {
345 | sAction: "EditBrowser"
346 | },
347 | {
348 | sAction: "EditPlatforms"
349 | }
350 | ]
351 | });
352 |
353 |
354 | Editable plugin enables you to add "actions" in the table. Action can be Editing columns in the popup. 74 |
75 | 76 | 77 | 78 | 79 | 80 || Browser | 158 |Platform(s) | 159 |Engine version | 160 |CSS grade | 161 |Status | 162 |Edit | 163 |Details |
|---|---|---|---|---|---|---|
| 168 | Internet Explorer 4.0 169 | | 170 |171 | Win 95+ 172 | | 173 |174 | 4 175 | | 176 |177 | X 178 | | 179 |180 | Retired | 181 | Edit 182 | | 183 |Details |
| 186 | Internet Explorer 5.0 187 | | 188 |189 | Win 95+ 190 | | 191 |192 | 5,5.5 193 | | 194 |195 | C 196 | | 197 |198 | Retired | 199 | Edit 200 | | 201 |Details |
| 204 | Internet Explorer 5.5 205 | | 206 |207 | Win 95+ 208 | | 209 |210 | 5.5 211 | | 212 |213 | A 214 | | 215 |216 | Retired | 217 | Edit 218 | | 219 |Details |
| 222 | Internet Explorer 6 223 | | 224 |225 | Win 98+ 226 | | 227 |228 | 6 229 | | 230 |231 | A 232 | | 233 |234 | Live | 235 | Edit 236 | | 237 |Details |
| 240 | Internet Explorer 7 241 | | 242 |243 | Win XP SP2+ 244 | | 245 |246 | 7 247 | | 248 |249 | A 250 | | 251 |252 | Live | 253 | Edit 254 | | 255 |Details |
| 258 | AOL browser (AOL desktop) 259 | | 260 |261 | Win XP 262 | | 263 |264 | 6 265 | | 266 |267 | A 268 | | 269 |270 | Retired | 271 | Edit 272 | | 273 |Details |
To initialize action, the action definition in the aoTableActions array. Action definition should contain name of the action, 281 | URL of the server-side page that will be called, and dialog options that will be passed to the action popup dialog.
282 |$(document).ready(function () {
283 | $('#example').dataTable()
284 | .makeEditable({
285 | aoTableActions: [
286 | {
287 | sAction: "EditData",
288 | sServerActionURL: "UpdateData.php",
289 | oFormOptions: { autoOpen: false, modal:true }
290 | }
291 | ],
292 | sUpdateURL: "UpdateData.php",
293 | sAddURL: "AddData.php",
294 | sDeleteURL: "DeleteData.php",
295 | aoColumns: [ { } , { } , { } , { } , null ]
296 | });
297 |
298 | });
299 |
300 | One action form that will be loaded from the form and update row cells should be defined. 302 | This form should have the following properties: 303 |
<form id="formEditData" action="UpdateData.php" title="Update Platforms"> 312 | <label for="browser">Browser</label><br /> 313 | <input type="text" name="browser" id="browser" class="required" rel="0" /> 314 | <br /> 315 | <label for="platforms">Platform(s)</label><br /> 316 | <textarea name="platforms" id="Textarea1" class="required" rel="1"></textarea> 317 | <br /> 318 | <label for="version">Engine version</label><br /> 319 | <select name="version" id="version" rel="2"> 320 | <option>1.5</option> 321 | <option>1.7</option> 322 | <option>1.8</option> 323 | <option>1.5</option> 324 | <option>4</option> 325 | <option>5</option> 326 | <option>5.5</option> 327 | <option>6</option> 328 | <option>7</option> 329 | </select> 330 | <br /> 331 | <label for="grade">CSS grade</label><br /> 332 | <input type="radio" name="grade" value="A" rel="3"> First<br> 333 | <input type="radio" name="grade" value="B" rel="3"> Second<br> 334 | <input type="radio" name="grade" value="C" rel="3"> Third 335 | <input type="radio" name="grade" value="X" rel="3"> The Worst 336 | <br /> 337 | <button id="formEditDataOk" type="submit">Ok</button> 338 | <button id="formEditDataCancel" type="button">Cancel</button> 339 | </form> 340 | 341 |342 |
Each table row should have a link with id table-action-(ACTION NAME) that will start the action.
344 || Select | 93 |Browser | 94 |Platform(s) | 95 |Engine version | 96 |CSS grade | 97 |
|---|---|---|---|---|
| 103 | | Browser | 104 |Platform(s) | 105 |Engine version | 106 |CSS grade | 107 |
| 113 | | Internet Explorer 4.0 | 114 |Win 95+ (Entity: &) | 115 |4 | 116 | 117 |X | 118 |
| 121 | | Internet Explorer 5.0 | 122 |Win 95+ | 123 |5 | 124 | 125 |C | 126 |
| 129 | | Internet Explorer 5.5 | 130 |Win 95+ | 131 |5.5 | 132 | 133 |A | 134 |
| 137 | | Internet Explorer 6 | 138 |Win 98+ | 139 |6 | 140 | 141 |A | 142 |
| 145 | | Internet Explorer 7 | 146 |Win XP SP2+ | 147 |7 | 148 | 149 |A | 150 |
| 153 | | AOL browser (AOL desktop) | 154 |Win XP | 155 |6 | 156 | 157 |A | 158 |
| 161 | | Firefox 1.0 | 162 |Win 98+ / OSX.2+ | 163 |1.7 | 164 | 165 |A | 166 |
| 169 | | Firefox 1.5 | 170 |Win 98+ / OSX.2+ | 171 |1.8 | 172 | 173 |A | 174 |
| 177 | | Firefox 2.0 | 178 |Win 98+ / OSX.2+ | 179 |1.8 | 180 | 181 |A | 182 |
| 185 | | Firefox 3.0 | 186 |Win 2k+ / OSX.3+ | 187 |1.9 | 188 | 189 |A | 190 |
| 193 | | Camino 1.0 | 194 |OSX.2+ | 195 |1.8 | 196 | 197 |A | 198 |
| 201 | | Camino 1.5 | 202 |OSX.3+ | 203 |1.8 | 204 | 205 |A | 206 |
| 209 | | Netscape 7.2 | 210 |Win 95+ / Mac OS 8.6-9.2 | 211 |1.7 | 212 | 213 |A | 214 |
| 217 | | Netscape Browser 8 | 218 |Win 98SE+ | 219 |1.7 | 220 | 221 |A | 222 |
| 225 | | Netscape Navigator 9 | 226 |Win 98+ / OSX.2+ | 227 |1.8 | 228 | 229 |A | 230 |
| 233 | | Mozilla 1.0 | 234 |Win 95+ / OSX.1+ | 235 |1 | 236 | 237 |A | 238 |
| 241 | | Mozilla 1.1 | 242 |Win 95+ / OSX.1+ | 243 |1.1 | 244 | 245 |A | 246 |
| 249 | | Mozilla 1.2 | 250 |Win 95+ / OSX.1+ | 251 |1.2 | 252 | 253 |A | 254 |
| 257 | | Mozilla 1.3 | 258 |Win 95+ / OSX.1+ | 259 |1.3 | 260 | 261 |A | 262 |
| 265 | | Mozilla 1.4 | 266 |Win 95+ / OSX.1+ | 267 |1.4 | 268 | 269 |A | 270 |
| 273 | | Mozilla 1.5 | 274 |Win 95+ / OSX.1+ | 275 |1.5 | 276 | 277 |A | 278 |
| 281 | | Mozilla 1.6 | 282 |Win 95+ / OSX.1+ | 283 |1.6 | 284 | 285 |A | 286 |
| 289 | | Mozilla 1.7 | 290 |Win 98+ / OSX.1+ | 291 |1.7 | 292 | 293 |A | 294 |
| 297 | | Mozilla 1.8 | 298 |Win 98+ / OSX.1+ | 299 |1.8 | 300 | 301 |A | 302 |
| 305 | | Seamonkey 1.1 | 306 |Win 98+ / OSX.2+ | 307 |1.8 | 308 | 309 |A | 310 |
| 313 | | Epiphany 2.20 | 314 |Gnome | 315 |1.8 | 316 | 317 |A | 318 |
| 321 | | Safari 1.2 | 322 |OSX.3 | 323 |125.5 | 324 | 325 |A | 326 |
| 329 | | Safari 1.3 | 330 |OSX.3 | 331 |312.8 | 332 | 333 |A | 334 |
| 337 | | Safari 2.0 | 338 |OSX.4+ | 339 |419.3 | 340 | 341 |A | 342 |
| 345 | | Safari 3.0 | 346 |OSX.4+ | 347 |522.1 | 348 | 349 |A | 350 |
| 353 | | OmniWeb 5.5 | 354 |OSX.4+ | 355 |420 | 356 | 357 |A | 358 |
| 361 | | iPod Touch / iPhone | 362 |iPod | 363 |420.1 | 364 | 365 |A | 366 |
| 369 | | S60 | 370 |S60 | 371 |413 | 372 | 373 |A | 374 |
| 377 | | Opera 7.0 | 378 |Win 95+ / OSX.1+ | 379 |- | 380 | 381 |A | 382 |
| 385 | | Opera 7.5 | 386 |Win 95+ / OSX.2+ | 387 |- | 388 | 389 |A | 390 |
| 393 | | Opera 8.0 | 394 |Win 95+ / OSX.2+ | 395 |- | 396 | 397 |A | 398 |
| 401 | | Opera 8.5 | 402 |Win 95+ / OSX.2+ | 403 |- | 404 | 405 |A | 406 |
| 409 | | Opera 9.0 | 410 |Win 95+ / OSX.3+ | 411 |- | 412 | 413 |A | 414 |
| 417 | | Opera 9.2 | 418 |Win 88+ / OSX.3+ | 419 |- | 420 | 421 |A | 422 |
| 425 | | Opera 9.5 | 426 |Win 88+ / OSX.3+ | 427 |- | 428 | 429 |A | 430 |
| 433 | | Opera for Wii | 434 |Wii | 435 |- | 436 | 437 |A | 438 |
| 441 | | Nokia N800 | 442 |N800 | 443 |- | 444 | 445 |A | 446 |
| 449 | | Nintendo DS browser | 450 |Nintendo DS | 451 |8.5 | 452 | 453 |C/A1 | 454 |
| 457 | | Konqureror 3.1 | 458 |KDE 3.1 | 459 | 460 |3.1 | 461 |C | 462 |
| 465 | | Konqureror 3.3 | 466 |KDE 3.3 | 467 | 468 |3.3 | 469 |A | 470 |
| 473 | | Konqureror 3.5 | 474 |KDE 3.5 | 475 | 476 |3.5 | 477 |A | 478 |
| 481 | | Internet Explorer 4.5 | 482 |Mac OS 8-9 | 483 | 484 |- | 485 |X | 486 |
| 489 | | Internet Explorer 5.1 | 490 |Mac OS 7.6-9 | 491 | 492 |1 | 493 |C | 494 |
| 497 | | Internet Explorer 5.2 | 498 |Mac OS 8-X | 499 | 500 |1 | 501 |C | 502 |
| 505 | | NetFront 3.1 | 506 |Embedded devices | 507 | 508 |- | 509 |C | 510 |
| 513 | | NetFront 3.4 | 514 |Embedded devices | 515 | 516 |- | 517 |A | 518 |
| 521 | | Dillo 0.8 | 522 |Embedded devices | 523 | 524 |- | 525 |X | 526 |
| 529 | | Links | 530 |Text only | 531 | 532 |- | 533 |X | 534 |
| 537 | | Lynx | 538 |Text only | 539 | 540 |- | 541 |X | 542 |
| 545 | | IE Mobile | 546 |Windows Mobile 6 | 547 | 548 |- | 549 |C | 550 |
| 553 | | PSP browser | 554 |PSP | 555 | 556 |- | 557 |C | 558 |
| Other browsers | 561 |All others | 562 |- | 563 | 564 |- | 565 |U | 566 |