GS인증 AUIGrid v3.0.16

Footer 에 1~12월에 따른 모든 지점 매출합을 출력한 모습입니다.

지원되는 Footer 연산은 SUM, AVG, MIN, MAX, COUNT 입니다.

푸터 변경하기

// 그리드 푸터 설정
const footerLayout = [{
	labelText: "∑",
	positionField: "#base",
	style: "aui-grid-my-column"
}, {
	dataField: "p1201",
	positionField: "p1201",
	operation: "SUM",
	formatString: "#,##0"
...
}];

// 푸터 레이아웃 세팅
AUIGrid.setFooter(myGridID, footerLayout);