서버 쪽 처리가 활성화 된 dataTable jquery 플러그인을 사용하고 있습니다. fnReloadAjax
기능을 사용하는 동안 처리 div 숨기기와 새 데이터 표시간에 2-3 초의 지연이 있습니다. 이 문제와 관련하여 다음은 post입니다. 이것이 datatable에 의해 만들어진 여러 서버 요청 때문이라는 것을 알게되었습니다. 나는 두 개의 요청이 다른데이터 여러 서버 쪽 요청을 생성하는 테이블
oTable.fnReloadAjax("getCaseList?caseStatus=xxx&showValidOnly=true");
을 다음과 같이 라디오 버튼의 집합의 내 페이지 onchange
이벤트에서
GET https://localhost/getCaseList?caseStatus=xxx&showValidOnly=true&_=1363611652185
GET https://localhost/getCaseList?caseStatus=xxx&showValidOnly=true&sEcho=4&iColumns=9&sColumns=&iDisplayStart=0&iDisplayLength=100&sSearch=&bRegex=false&sSearch_0=&bRegex_0=false&bSearchable_0=true&sSearch_1=&bRegex_1=false&bSearchable_1=true&sSearch_2=&bRegex_2=false&bSearchable_2=true&sSearch_3=&bRegex_3=false&bSearchable_3=true&sSearch_4=&bRegex_4=false&bSearchable_4=true&sSearch_5=&bRegex_5=false&bSearchable_5=true&sSearch_6=&bRegex_6=false&bSearchable_6=true&sSearch_7=&bRegex_7=false&bSearchable_7=true&sSearch_8=&bRegex_8=false&bSearchable_8=true&iSortingCols=1&iSortCol_0=4&sSortDir_0=desc&bSortable_0=false&bSortable_1=true&bSortable_2=true&bSortable_3=true&bSortable_4=true&bSortable_5=true&bSortable_6=true&bSortable_7=true&bSortable_8=true&_=1363611701804
첫 번째 요청 완료 후 처리 div가 숨겨 지지만 두 번째 요청이 완료된 후에 만 새 데이터가로드됩니다.
두 번째 추가 호출을 데이터 테이블로 만드는 이유는 무엇입니까?