본문 바로가기
IT

리얼그리드 초기화

by 달남 2019. 10. 2.

//데이터 초기화

아래와 같이 사용해야 완벽하게 초기화 된다.

var dataProvider == null;


    if( dataProvider != null){
         //    dataProvider.clearRows();  // 모든행 삭제

             //grid, provider 초기화
             gridView.destroy();
             dataProvider.destroy();

             //LocalDataProvider와 GridView 객체 초기화
             gridView = null;
             dataProvider = null;
    }

댓글