@megha-ui/react 1.2.726 → 1.2.729
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.
|
@@ -146,6 +146,7 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
+
console.log("Column Data Type:", col.key, columnData === null || columnData === void 0 ? void 0 : columnData[col.key], isArrayString);
|
|
149
150
|
return Object.assign(Object.assign({}, col), { isArrayString, dataType: (_b = (_a = col.dataType) !== null && _a !== void 0 ? _a : columnData === null || columnData === void 0 ? void 0 : columnData[col.key]) !== null && _b !== void 0 ? _b : "string" });
|
|
150
151
|
});
|
|
151
152
|
}
|
|
@@ -723,7 +724,7 @@ withCard = false, cardClassName, cardHeader, title, headerLeft, headerRight, sub
|
|
|
723
724
|
}, [hugLoading]);
|
|
724
725
|
const tableData = useMemo(() => {
|
|
725
726
|
const records = paginate ? paginatedData : sortedData;
|
|
726
|
-
const splitColumns = gridColumns.filter((col) => col.
|
|
727
|
+
const splitColumns = gridColumns.filter((col) => col.splitRow);
|
|
727
728
|
if (splitColumns.length > 0) {
|
|
728
729
|
let modifiedRecords = records.length > 0 ? [] : records;
|
|
729
730
|
records.forEach((row) => {
|
package/package.json
CHANGED