RealGrid2 API
Interface
GridFooterCollection

GridFooterCollection

그리드 푸터 영역에 관한 콜렉션 모델

Signature:

export interface GridFooterCollection 

Remarks

그리드의 footer를 표시하거나 여러개의 푸터를 생성하고 관리한다.

GridBase.footers 에서 반환되는 객체이다.

Example

// object
gridView.setFooters({
     visible: true,
     items:[
         {
             styleName: 'custom-footer-1'
         }, {
             styleName: 'custom-footer-2'
         }
     ]
})
// 또는 array형태로 지정
gridView.setFooters([
     {
         styleName: 'custom-footer-1'
     }, {
         styleName: 'custom-footer-2'
     }
])

Properties

PropertyModifiersTypeDescription
countreadonlynumber현재 설정된 footer의 갯수를 반환한다.
itemsGridFooter[]gridFooter를 설정한다.
visibleboolean표시여부
visibleCountreadonlynumber현재 설정된 footer중 visible이 true인 footer의 갯수를 반환한다.

Methods

MethodDescription
get(index)해당하는 인덱스의 푸터를 반환한다.
getVisible(index)보여지는 순서에 해당하는 푸터를 가져온다.

Properties Desc

count

현재 설정된 footer의 갯수를 반환한다.

items

gridFooter를 설정한다.

visible

표시여부

visibleCount

현재 설정된 footer중 visible이 true인 footer의 갯수를 반환한다.

Methods Desc

get

해당하는 인덱스의 푸터를 반환한다.

Remarks:

GridFooter를 반환한다.

getVisible

보여지는 순서에 해당하는 푸터를 가져온다.

Remarks:

GridFooter를 반환한다.