알쓸전컴(알아두면 쓸모있는 전자 컴퓨터)

handsontable 에서 getcell undefined 에러 날때 본문

Web /Vue js tip

handsontable 에서 getcell undefined 에러 날때

백곳 2018. 6. 8. 12:50

handsontable 에서 getcell  undefined 에러 날때 



handsontable  에서  cell 이 화면에서 안보이는 상태에서 


예를 들면 



스크롤바를 움직여서 해당 셀이 안보일때 


getcell  메소드를 사용하면 


undefined 가 나옵니다. 


그래서 

selectCell(2,3)
getCell(2,3)
selectCellByProp(2,10(원래 있었던 컬럼))

해주면 

selectCell 을 해주고 getCell 을 해주면

undefined 가 나오지 않습니다. 




Comments