@megha-ui/react 1.2.334 → 1.2.336
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -362,6 +362,7 @@ const Grid = ({ columns, wrapperClass, updateGridColumns, data, height, sortable
|
|
|
362
362
|
];
|
|
363
363
|
_groupedKeys.forEach((grouped) => {
|
|
364
364
|
const { groupedValue, groupedColumns } = grouped;
|
|
365
|
+
console.log(grouped);
|
|
365
366
|
const filterValue = _groupedKeys.length > 1 ? groupedValue : "";
|
|
366
367
|
const columnTokens = groupedColumns
|
|
367
368
|
? groupedColumns.split(">").filter((item) => item)
|
|
@@ -44,7 +44,6 @@ const GroupedGrid = ({ groupedData, rowOpened, startIndex, endIndex, alternateRo
|
|
|
44
44
|
})
|
|
45
45
|
.map((item, gIndex) => {
|
|
46
46
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
47
|
-
console.log({ item });
|
|
48
47
|
if (gIndex >= startIndex && gIndex <= endIndex)
|
|
49
48
|
return item.type === "main" ? (_jsxs("div", { style: {
|
|
50
49
|
width: "100%",
|
|
@@ -105,7 +104,6 @@ const GroupedGrid = ({ groupedData, rowOpened, startIndex, endIndex, alternateRo
|
|
|
105
104
|
: compositeIndex > -1
|
|
106
105
|
? compositeValues[compositeIndex]
|
|
107
106
|
: "";
|
|
108
|
-
console.log({ compositeIndex, idx, columnKey });
|
|
109
107
|
if (display && idx === keys.length - 1) {
|
|
110
108
|
return `${display} (${item === null || item === void 0 ? void 0 : item.count})`;
|
|
111
109
|
}
|
package/package.json
CHANGED