UNPKG

@progress/kendo-react-grid

Version:

React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package

26 lines (25 loc) 848 B
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ "use client"; import * as n from "react"; import { GridContext as i } from "../../utils/GridContext.mjs"; const u = (r) => { const o = n.useContext(i), e = r.colGroupRef; return /* @__PURE__ */ n.createElement( "colgroup", { ref: (t) => { e ? typeof e == "function" ? e(t) : e.current = t : (o.columnResizeRef.current.colGroupMain = t, o.columnResizeRef.current.initWidths()); } }, r.children ); }; export { u as GridColGroup };