987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
|
@ var arrowdiv = this.hdrRow.getElementsByClassName("sortarrow");
@ while( arrowdiv[0] ){
@ arrowdiv[0].parentNode.removeChild(arrowdiv[0]);
@ }
@ for (var i=0; i<this.hdrRow.cells.length; i++) {
@ if( this.columnTypes[i]=='x' ) continue;
@ if( this.prevColumn==i+1 ){
@ arrow = "\u2b07";
@ }else if( this.prevColumn==(-1-i) ){
@ arrow = "\u2b06";
@ }else{
@ arrow = "\u21f3";
@ }
@ this.hdrRow.cells[i].innerHTML +=
@ "<span class='sortarrow'>" + arrow + "</div>";
@ }
@ }
@ this.sortText = function(a,b) {
@ var i = thisObject.sortIndex;
|
|
|
|
|
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
|
@ var arrowdiv = this.hdrRow.getElementsByClassName("sortarrow");
@ while( arrowdiv[0] ){
@ arrowdiv[0].parentNode.removeChild(arrowdiv[0]);
@ }
@ for (var i=0; i<this.hdrRow.cells.length; i++) {
@ if( this.columnTypes[i]=='x' ) continue;
@ if( this.prevColumn==i+1 ){
@ arrow = "↓"
@ }else if( this.prevColumn==(-1-i) ){
@ arrow = "↑"
@ }else{
@ arrow = "♦"
@ }
@ this.hdrRow.cells[i].innerHTML +=
@ "<span class='sortarrow'>" + arrow + "</div>";
@ }
@ }
@ this.sortText = function(a,b) {
@ var i = thisObject.sortIndex;
|