Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions doc/en/components/grids/_shared/cell-merging.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@ The Ignite UI for {Platform} {ComponentTitle} provides a Cell Merging feature th

## {Platform} {ComponentTitle} Cell Merging Example

`sample="/{ComponentSample}/cell-merge", height="700", alt="{Platform} {ComponentTitle} Cell Merging Example"`

<!-- ComponentStart: Grid -->
`sample="/{ComponentSample}/cell-merge", height="600", alt="{Platform} {ComponentTitle} Cell Merging Example"`
<!-- ComponentEnd: Grid -->
<!-- ComponentStart: HierarchicalGrid -->
`sample="/{ComponentSample}/cell-merge", height="475", alt="{Platform} {ComponentTitle} Cell Merging Example"`
<!-- ComponentEnd: HierarchicalGrid -->
<!-- ComponentStart: TreeGrid -->
`sample="/{ComponentSample}/cell-merge", height="755", alt="{Platform} {ComponentTitle} Cell Merging Example"`
<!-- ComponentEnd: TreeGrid -->
## Enabling and Using Cell Merging
Cell merging in the grid is controlled at two levels:
- Grid-level merge mode – determines when merging is applied.
Expand Down Expand Up @@ -213,11 +220,18 @@ constructor() {
grid.cellMergeMode = 'always';
}
```

### Demo
<!-- end: WebComponents -->
<!-- ComponentStart: Grid -->
### Demo
`sample="/{ComponentSample}/cell-merge-custom-sample", height="700", alt="{Platform} {ComponentTitle} Cell Merging Example"`
`sample="/{ComponentSample}/cell-merge-custom-sample", height="600", alt="{Platform} {ComponentTitle} Cell Merging Example"`
<!-- ComponentEnd: Grid -->
<!-- ComponentStart: HierarchicalGrid -->
`sample="/{ComponentSample}/cell-merge-custom-sample", height="425", alt="{Platform} {ComponentTitle} Cell Merging Example"`
<!-- ComponentEnd: HierarchicalGrid -->
<!-- ComponentStart: TreeGrid -->
`sample="/{ComponentSample}/cell-merge-custom-sample", height="755", alt="{Platform} {ComponentTitle} Cell Merging Example"`
<!-- ComponentEnd: TreeGrid -->

## Feature Integration
Due to the specific behavior of merged cells it has to be noted how exactly it ties together with some of the other features of the grid:
Expand Down