Nexacro-Grid/row 관련내용

Nexacro.Grid - row별 Height 변경

농부지기 2017. 7. 18. 09:42

[ Nexacro.Grid - row별 Height 변경 ]

 

1. 범례 : this.gridId.setRealRowSize(변경row, 변경Height);

2. 예제 : this.gridId.setRealRowSize(3, 20);  //3번째 row의 Height를 20으로 처리

             this.gridId.setRealRowSize(4,   0);  //4번째 row의 Height를 0으로 처리 (안보임)

             this.gridId.setRealRowSize(-1, 25);  //Header Height 조정

 

3. 이슈

    . height를 0 으로 변경해도 focus가 이동됨

    . 그래서 화면에서 갑자기 focus가 살이지는 경우 발생

    . 이로 인해 focus가 이동 또는 row이동 시 

       -> row.height = 0 인 경우는 다음row로 이동하는 logic이 필요