[!Note] Please note that this control has been deprecated and replaced with the Grid component, and as such, we recommend migrating to that control. This will not be receiving any new features, bug fixes will be deprioritized. For help or questions on migrating your codebase to the Data Grid, please contact support.
Web Components 그리드 셀 병합
Ignite UI for Web Components 데이터 테이블/데이터 그리드는 셀 병합을 지원합니다. 옵트인(opt-in)하고 특정 열에 대한 인접한 형제 레코드에 동일한 값이 포함된 경우를 감지할 수 있습니다. 셀이 활성 상태이거나, 선택되어 있지 않거나, 편집 모드에 있지 않은 동안에는 값이 셀 전체에 표시됩니다.
Web Components Grid Cell Merging Example
개요
Cell Merging in the Web Components data grid can be configured by using the mergedCellMode option of the entire Web Components grid or individual columns. This property can be set to one of the following options, listed below:
Never: The grid or column will never merge cells. This is the default behavior.Always: The grid or column will always attempt to merge cells.OnlyWhenSorted: The grid or column will only attempt to merge cells when a column is sorted.
이 속성의 값에 관계없이 셀은 형제 레코드 간에만 병합될 수 있습니다.
Cell merging can be evaluated based on whether the data is formatted or not using the mergedCellEvaluationCriteria property. This is applicable to the entire grid or individual columns and can be set to one of the following options, listed below:
RawValue: Merge cells from adjacent rows when the raw values from the cells are the same. This is the default value.FormattedText: Merge cells from adjacent rows when the formatted value from the cells is the same.