# Column Group Render Sync
URL: https://pro.rv-grid.com/api/column-group-render-sync/
Source: src/content/docs/api/column-group-render-sync.md
### `ensureColumnGroupRenderSyncPlugin`

```ts
export function ensureColumnGroupRenderSyncPlugin(
  revogrid: HTMLRevoGridElement,
  providers: PluginProviders,
): ColumnGroupRenderSyncPlugin;
```

---

### `ColumnGroupRenderSyncPlugin`

#### Dependencies

- **Event integration** `BEFORE_GROUP_HEADER_RENDER_EVENT`: Projects source-indexed column groups to visible render indexes during grouped header rendering.
- **Event integration** `COLUMN_UPDATED_EVENT`: Refreshes source-indexed group snapshots when columns are replaced.

```ts
class ColumnGroupRenderSyncPlugin {
  refreshSourceGroups(type?: DimensionCols): void;
}
```
