@progress/kendo-react-grid
Version:
React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package
33 lines (32 loc) • 1.24 kB
JavaScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import * as r from "react";
import { GridPinCellServerContainer as s } from "./GridPinCellServerContainer.mjs";
import { getPinCellTdProps as p, getCustomCell as C } from "./utils.mjs";
import { getClientCellProps as P, isClientReference as a } from "../../utils/index.mjs";
const g = (i) => {
const { cellProps: e } = i, { tdProps: t, content: n } = p(e), l = P(e), o = C(e);
if (o) {
const m = a(o);
return /* @__PURE__ */ r.createElement(
s,
{
cellProps: l,
tdProps: t,
isCustom: !0,
isClient: m
},
/* @__PURE__ */ r.createElement(o, { ...l, tdProps: t }, n)
);
}
const c = e.rowType !== "groupHeader" ? /* @__PURE__ */ r.createElement("td", { ...t }, n) : null;
return /* @__PURE__ */ r.createElement(s, { cellProps: l, tdProps: t }, c);
};
export {
g as GridPinCellServer
};