0
내가, 내가 테이블에 새 행을 추가하려면 몇 행이 데이터 테이블을 원하는 한
: 나는 데이터 테이블을 초기화하기 때 추가catch되지 않은 형식 오류 : 개체 [개체 개체]있는 방법이 없습니다 'fnStandingRedraw'
var oTable = $('#StudentsTable').dataTable();
Table2.fnStandingRedraw();
:
submitHandler: function(form) {
var $modal = $('#ajax-modal');
$modal.modal('loading');
$(form).ajaxSubmit({
dataType: 'json',
success: function(result) {
if (result.Success) {
if (result.Data.Action == "add") {
var oTable2 = $('#StudentsTable').dataTable();
/*=>here is Call redraw */ oTable2.fnStandingRedraw();
}
여기
그것은 나에게 오류를 제공합니다 :
"bProcessing": true,
"bServerSide": true,
"bDestroy": true,
"fnFilter": true,
'bLengthChange': true,
'bPaginate': true,
'bStandingRedraw': true,
아약스 후 나는 테이블을 redrow 할 제출을잡히지 않은 TypeError : Object [object Object]에 'fnStandingRedraw'메서드가 없습니다.
몇 가지 제안 사항이 있습니까?
기본 API 메소드가 아닙니다. 이 참조 페이지는 datatables를 사용할 때 생명의 은인입니다 : http://datatables.net/ref – adamb