본문 바로가기

web/jQuery

jquery table tablesorter lockedOrder.html 실행하기

원본 : http://tablesorter.com/docs
이걸한 목적이 얘네들 홈피에서 안되길래 만들어서 올렸는데 알고 봤더니
크롬(내꺼:버전 25.0.1364.152 m)에서는 안되고 익스플러러에서는 되네

아래 파일을 테스트 하면 


테스트 테이블 - 아래 해더를 클릭하면 잘 동작한다. 



테스트 내용 : 테이블 소트 + 500라인 늘리기

tablesorter 2.0-dev demo, multi column sorting

To select more then one column to sort by, hold down your shift key and press the "headers". Pressing a all ready sorted column while holding down shift will reverse the order.

Releasing the shift key and pressing a column will result in a one column sort.

Not big enough? Add 500 random rows of data (can be clicked many times, more then a 1000 rows can be slow) 파란색 클릭하면 500 라인 추가된다네

-pc 에서 테스트 할때 테스트 결과

 .크롬에서는 증가 안하고

 .인터넷 익스플러러에서는 증가한다.

. 안타깝게도 여기 화면에서도 증가 안하네 버그 잡으면 될려나.



Name Major Sex English Japanese Calculus Geometry
Name Major Sex English Japanese Calculus Geometry
Student01 Languages male 80 70 75 80
Student02 Mathematics male 90 88 100 90
Student03 Languages female 85 95 80 85
Student04 Languages male 60 55 100 100
Student05 Languages female 68 80 95 80
Student06 Mathematics male 100 99 100 90
Student07 Mathematics male 85 68 90 90
Student08 Languages male 100 90 90 85
Student09 Mathematics male 80 50 65 75
Student10 Languages male 85 100 100 90
Student11 Languages male 86 85 100 100
Student12 Mathematics female 100 75 70 85
Student13 Languages female 100 80 100 90
Student14 Languages female 50 45 55 90
Student15 Languages male 95 35 100 90
Student16 Languages female 100 50 30 70
Student17 Languages female 80 100 55 65
Student18 Mathematics male 30 49 55 75
Student19 Languages male 68 90 88 70
Student20 Mathematics male 40 45 40 80
Student21 Languages male 50 45 100 100
Student22 Mathematics male 100 99 100 90
Student23 Languages female 85 80 80 80