@progress/kendo-react-grid
Version:
React Data Grid (Table) provides 100+ ready-to-use data grid features. KendoReact Grid package
89 lines (88 loc) • 1.93 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 G from "react";
import { GridRow as v } from "./GridRow.mjs";
import { StackedModeRow as z } from "../stacked/StackedModeRow.mjs";
const B = ({
isStackedMode: R,
item: r,
rowId: e,
dataIndex: o,
idPrefix: T,
ariaRowIndex: m,
absoluteRowIndex: t,
isAltRow: c,
isHidden: n,
isRowReorderable: a,
rowHeight: p,
rows: f,
leafColumns: C,
groupLevelCount: D,
stackedLayoutSettings: E,
cells: K,
editMode: M,
isSelected: k,
isHighlighted: u,
isInEdit: y,
preparedCells: l,
showDetailToggle: N,
isDetailExpanded: j,
detailExpandField: q
}) => R ? /* @__PURE__ */ G.createElement(
z,
{
item: r,
rowId: e,
dataIndex: o,
idPrefix: T,
ariaRowIndex: m,
absoluteRowIndex: t,
isAltRow: c,
isHidden: n,
isRowReorderable: a,
rowHeight: p,
rows: f,
leafColumns: C,
groupLevelCount: D,
stackedLayoutSettings: E,
cells: K,
editMode: M,
isSelected: k,
isHighlighted: u,
isInEdit: y,
preparedCells: l,
showDetailToggle: N,
isDetailExpanded: j,
detailExpandField: q
}
) : /* @__PURE__ */ G.createElement(
v,
{
key: e,
dataItem: r.dataItem,
isAltRow: c,
isInEdit: y,
rowType: r.rowType,
isRowReorderable: a,
isHidden: n,
onClick: null,
onDoubleClick: null,
rowHeight: p,
ariaRowIndex: m,
absoluteRowIndex: t,
dataIndex: o,
isSelected: k,
isHighlighted: u,
rows: f
},
l
);
B.displayName = "KendoReactGridRowRenderer";
export {
B as GridRowRenderer
};