X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=webapp%2Fresources%2Fdatatables-1.9.4%2Fextras%2FFixedColumns%2Fleft_right_columns.html;fp=webapp%2Fresources%2Fdatatables-1.9.4%2Fextras%2FFixedColumns%2Fleft_right_columns.html;h=df92ec7ec9b2897776ed55dc2c8d1261a52da90d;hb=9bb6ee99ca7f738fac1087190b5481b8fe6e8d9f;hp=0000000000000000000000000000000000000000;hpb=2e3f6b76be585306f1003d849831840c0adb3360;p=proteocache.git diff --git a/webapp/resources/datatables-1.9.4/extras/FixedColumns/left_right_columns.html b/webapp/resources/datatables-1.9.4/extras/FixedColumns/left_right_columns.html new file mode 100644 index 0000000..df92ec7 --- /dev/null +++ b/webapp/resources/datatables-1.9.4/extras/FixedColumns/left_right_columns.html @@ -0,0 +1,678 @@ + + + + + + + FixedColumns example + + + + + + + +
+
+ FixedColumns example - left and right columns fixed +
+ +

Preamble

+

FixedColumns allows columns to be fixed from both the left and right hand sides of the table. Fixing right hand-side columns is done by using the iRightColumns initialisation parameter, which works just the same as iLeftColumns does for the left side of the table. This example shows both the left and right columns being fixed in place, and a bit of initialisation of DataTables to provide index columns.

+ +

Live example

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 Rendering engineBrowserPlatform(s)Engine versionCSS grade 
 Rendering engineBrowserPlatform(s)Engine versionCSS grade 
1TridentInternet + Explorer 4.0Win 95+4X1
2TridentInternet + Explorer 5.0Win 95+5C2
3TridentInternet + Explorer 5.5Win 95+5.5A3
4TridentInternet + Explorer 6Win 98+6A4
5TridentInternet Explorer 7Win XP SP2+7A5
6TridentAOL browser (AOL desktop)Win XP6A6
7GeckoFirefox 1.0Win 98+ / OSX.2+1.7A7
8GeckoFirefox 1.5Win 98+ / OSX.2+1.8A8
9GeckoFirefox 2.0Win 98+ / OSX.2+1.8A9
10GeckoFirefox 3.0Win 2k+ / OSX.3+1.9A10
11GeckoCamino 1.0OSX.2+1.8A11
12GeckoCamino 1.5OSX.3+1.8A12
13GeckoNetscape 7.2Win 95+ / Mac OS 8.6-9.21.7A13
14GeckoNetscape Browser 8Win 98SE+1.7A14
15GeckoNetscape Navigator 9Win 98+ / OSX.2+1.8A15
16GeckoMozilla 1.0Win 95+ / OSX.1+1A16
17GeckoMozilla 1.1Win 95+ / OSX.1+1.1A17
18GeckoMozilla 1.2Win 95+ / OSX.1+1.2A18
19GeckoMozilla 1.3Win 95+ / OSX.1+1.3A19
20GeckoMozilla 1.4Win 95+ / OSX.1+1.4A20
21GeckoMozilla 1.5Win 95+ / OSX.1+1.5A21
22GeckoMozilla 1.6Win 95+ / OSX.1+1.6A22
23GeckoMozilla 1.7Win 98+ / OSX.1+1.7A23
24GeckoMozilla 1.8Win 98+ / OSX.1+1.8A24
25GeckoSeamonkey 1.1Win 98+ / OSX.2+1.8A25
26GeckoEpiphany 2.20Gnome1.8A26
27WebkitSafari 1.2OSX.3125.5A27
28WebkitSafari 1.3OSX.3312.8A28
29WebkitSafari 2.0OSX.4+419.3A29
30WebkitSafari 3.0OSX.4+522.1A30
31WebkitOmniWeb 5.5OSX.4+420A31
32WebkitiPod Touch / iPhoneiPod420.1A32
33WebkitS60S60413A33
34PrestoOpera 7.0Win 95+ / OSX.1+-A34
35PrestoOpera 7.5Win 95+ / OSX.2+-A35
36PrestoOpera 8.0Win 95+ / OSX.2+-A36
37PrestoOpera 8.5Win 95+ / OSX.2+-A37
38PrestoOpera 9.0Win 95+ / OSX.3+-A38
39PrestoOpera 9.2Win 88+ / OSX.3+-A39
40PrestoOpera 9.5Win 88+ / OSX.3+-A40
41PrestoOpera for WiiWii-A41
42PrestoNokia N800N800-A42
43PrestoNintendo DS browserNintendo DS8.5C/A43
44KHTMLKonqureror 3.1KDE 3.13.1C44
45KHTMLKonqureror 3.3KDE 3.33.3A45
46KHTMLKonqureror 3.5KDE 3.53.5A46
47TasmanInternet Explorer 4.5Mac OS 8-9-X47
48TasmanInternet Explorer 5.1Mac OS 7.6-91C48
49TasmanInternet Explorer 5.2Mac OS 8-X1C49
50MiscNetFront 3.1Embedded devices-C50
51MiscNetFront 3.4Embedded devices-A51
52MiscDillo 0.8Embedded devices-X52
53MiscLinksText only-X53
54MiscLynxText only-X54
55MiscIE MobileWindows Mobile 6-C55
56MiscPSP browserPSP-C56
57Other browsersAll others--U57
+
+
+ + +

Initialisation code

+
$(document).ready( function () {
+	var oTable = $('#example').dataTable( {
+		"sScrollX": "100%",
+		"sScrollXInner": "150%",
+		"bScrollCollapse": true,
+		"fnDrawCallback": function ( oSettings ) {
+			/* Need to redo the counters if filtered or sorted */
+			if ( oSettings.bSorted || oSettings.bFiltered ) {
+				for ( var i=0, iLen=oSettings.aiDisplay.length ; i<iLen ; i++ ) {
+					this.fnUpdate( i+1, oSettings.aiDisplay[i], 0, false, false );
+					this.fnUpdate( i+1, oSettings.aiDisplay[i], 6, false, false );
+				}
+			}
+		},
+		"aoColumnDefs": [
+			{ "bSortable": false, "sClass": "indexLeft", "aTargets": [ 0 ] },
+			{ "bSortable": false, "sClass": "indexRight", "aTargets": [ -1 ] }
+		],
+		"aaSorting": [[ 1, 'asc' ]]
+	} );
+	
+	new FixedColumns( oTable, {
+		"iLeftColumns": 1,
+		"iRightColumns": 1
+	} );
+} );
+ + +

Documentation

+ + +

Basic examples

+ + +

Advanced examples

+
+ + \ No newline at end of file