2
A
답변
0
ag-Grid에서이 "열 확장"을 호출합니다. HTML 테이블을 작성하는 좋은 날에는 셀을 수직으로 병합하는 밀접한 관련 작업을 위해 colspan
및 rowspan
을 호출합니다.
, 여기에 AG-그리드 참조입니다 :
0
당신은 특정 열
cellClass: function(params) {
if(params.data.someConditionForCellsToBeMerged) {
return params.data.someConditionForCellToKeep ? "top-row-span": "bottom-row-span";
}
}
다음 CSS에 대한 colDef이를 추가 할 수 있습니다
:
.ag-neo .ag-cell.top-row-span {
border-bottom: 0px;
}
.ag-neo .ag-cell.bottom-row-span {
border-top: 0px;
text-indent: -100em; // you can use this to hide the content of the bottom cell
}
ag-grid에는 고유 한 것이 없지만이 gihub 문제에는 몇 가지 세부 정보/해결 방법이 있습니다. https://github.com/ceolter/ag-grid/issues/22 –