@megha-ui/react 1.2.39 → 1.2.40
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.
|
@@ -29,6 +29,7 @@ const GridFilterDropdown = ({ headerDropdownIndex, searchOptions, position, colu
|
|
|
29
29
|
if (typeof uniqueSearch[columnKey] === "undefined") {
|
|
30
30
|
setUniqueSearch((prev) => (Object.assign(Object.assign({}, prev), { [columnKey]: columnData })));
|
|
31
31
|
}
|
|
32
|
+
console.log({ columnData });
|
|
32
33
|
setFilterColumnData(columnData);
|
|
33
34
|
}, [columnData]);
|
|
34
35
|
(0, react_1.useEffect)(() => {
|
|
@@ -553,6 +553,7 @@ const GridHeader = ({ columns, onSearch, searchQueries, sortable, search, resiza
|
|
|
553
553
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
|
|
554
554
|
if (!column.hidden) {
|
|
555
555
|
const columnData = (0, exports.getColumnData)(column.key, gridData, (_a = column.dataType) !== null && _a !== void 0 ? _a : "string");
|
|
556
|
+
console.log({ columnData });
|
|
556
557
|
return ((0, jsx_runtime_1.jsx)("div", { className: `${sortable && column.sortable ? "sortable" : ""} ${column.showMenu ? "menu-true" : "menu-false"} column index-${column.key}`, style: Object.assign(Object.assign({}, cellStyle), { position: "relative", padding: "0.5rem", textAlign: "left", whiteSpace: "nowrap", textOverflow: "ellipsis", width: widthMode === "auto"
|
|
557
558
|
? "auto"
|
|
558
559
|
: column.width
|
package/package.json
CHANGED