@visns-studio/visns-components 2.7.0 → 2.7.2

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.
@@ -1699,7 +1699,6 @@ const DataGrid = forwardRef(
1699
1699
  }
1700
1700
  }
1701
1701
 
1702
-
1703
1702
  if (shouldRenderButton) {
1704
1703
  return (
1705
1704
  <button
@@ -1806,6 +1805,15 @@ const DataGrid = forwardRef(
1806
1805
  name: column.id,
1807
1806
  filterEditor: filterEditor,
1808
1807
  filterEditorProps: filterEditorProps,
1808
+ render: ({ data }) => {
1809
+ if (data && data[column.id]) {
1810
+ return (
1811
+ <span>{parse(data[column.id])}</span>
1812
+ );
1813
+ } else {
1814
+ return null;
1815
+ }
1816
+ },
1809
1817
  };
1810
1818
  }
1811
1819
  };
package/package.json CHANGED
@@ -44,7 +44,7 @@
44
44
  "react-dom": "^17.0.1"
45
45
  },
46
46
  "name": "@visns-studio/visns-components",
47
- "version": "2.7.0",
47
+ "version": "2.7.2",
48
48
  "description": "Various packages to assist in the development of our Custom Applications.",
49
49
  "main": "index.js",
50
50
  "scripts": {