We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0a5874 commit 4fd6e03Copy full SHA for 4fd6e03
website/demos/RowGrouping.tsx
@@ -203,7 +203,10 @@ export default function RowGrouping({ direction }: Props) {
203
</label>
204
205
<TreeDataGrid
206
- columns={columns.map((c) => ({ ...c, frozen: areGroupColumnsFrozen }))}
+ columns={columns.map((c) => ({
207
+ ...c,
208
+ ...(selectedOptions.includes(c.key) ? { frozen: areGroupColumnsFrozen } : {})
209
+ }))}
210
rows={rows}
211
rowKeyGetter={rowKeyGetter}
212
selectedRows={selectedRows}
0 commit comments