X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=webapp%2Fresources%2Fdatatables-1.9.4%2Fextras%2FColReorder%2Fmedia%2Fdocs%2Fglobal.html;fp=webapp%2Fresources%2Fdatatables-1.9.4%2Fextras%2FColReorder%2Fmedia%2Fdocs%2Fglobal.html;h=bf9de5fa11e90574ed709d450f94222ceb6e3fff;hb=9bb6ee99ca7f738fac1087190b5481b8fe6e8d9f;hp=0000000000000000000000000000000000000000;hpb=2e3f6b76be585306f1003d849831840c0adb3360;p=proteocache.git diff --git a/webapp/resources/datatables-1.9.4/extras/ColReorder/media/docs/global.html b/webapp/resources/datatables-1.9.4/extras/ColReorder/media/docs/global.html new file mode 100644 index 0000000..bf9de5f --- /dev/null +++ b/webapp/resources/datatables-1.9.4/extras/ColReorder/media/docs/global.html @@ -0,0 +1,180 @@ + + + + + Global - documentation + + + + + + + + + +
+ + +
+

Global

+ +
+ +
+
+ + + +
+

Navigation

+ +
+ + Hiding private elements + (toggle) + +
+
+ + Showing extended elements + (toggle) + +
+
+ +
+ +
+ +
+ +
+ +
+ + +
+ +

Summary

+ +

Classes

+
+
ColReorder

ColReorder provides column visiblity control for DataTables

+

Properties - instance

+ +
+
<constant> CLASS :String

Name of this class

<constant> VERSION :String

ColReorder version

+

Methods - instance

+ +
+
fnArraySwitch(array, int, int)

Modify an array by switching the position of two elements

fnDomSwitch(string, int, int)

Switch the positions of nodes in a parent node (note this is specifically designed for +table rows). Note this function considers all element nodes under the parent!

fnInvertKeyValues(array)

Switch the key value pairing of an index array to be value key (i.e. the old value is now the +key). For example consider [ 2, 0, 1 ] this would be returned as [ 1, 2, 0 ].

+
+
+
+ + + + +
+ +

Details

+

Properties - instance

+
+
<constant> CLASS :String

Name of this class

+ +
+
<constant> VERSION :String

ColReorder version

+ +
+
+

Methods - instance

+
+
fnArraySwitch(array, int, int)

Modify an array by switching the position of two elements

+ +
+
Parameters:
+ + + + + + + + + + + + + + + + +
NameTypeAttributesDefaultDescription
1
array

aArray Array to consider, will be modified by reference (i.e. no return)

2
int

iFrom From point

3
int

iTo Insert point

Returns:

void

+
fnDomSwitch(string, int, int)

Switch the positions of nodes in a parent node (note this is specifically designed for +table rows). Note this function considers all element nodes under the parent!

+ +
+
Parameters:
+ + + + + + + + + + + + + + + + +
NameTypeAttributesDefaultDescription
1
string

sTag Tag to consider

2
int

iFrom Element to move

3
int

Point to element the element to (before this point), can be null for append

Returns:

void

+
fnInvertKeyValues(array)

Switch the key value pairing of an index array to be value key (i.e. the old value is now the +key). For example consider [ 2, 0, 1 ] this would be returned as [ 1, 2, 0 ].

+ +
+
Parameters:
+ + + + + + + + + + + + + + + + +
NameTypeAttributesDefaultDescription
1
array

aIn Array to switch around

Returns:

array

+ +
+
+
+ +
+ + + + \ No newline at end of file