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