Customizing the IgrGrid Component in a Shared Library #84
fvitoloDotmatics
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We are trying to customize the React component IgrGrid and add it to a library to be shared across various projects.
The library is built with Vite
v5.4.2using the following configuration:, the following tsconfig
, and React/React-DOM versions
^17.0.2and igniteui-react~18.6.1.The issue we are encountering is that if we export only the customized component with export { default as IgrGrid } from
"./components/dataentry/infragistics/grid/IgrGrid";, the table does not render when passing in IgrColumns. However, if we export IgrColumn from the components library and pass that in it works as expected.We would like to ask for clarification on why this is necessary and if you have any insights on this matter.
Beta Was this translation helpful? Give feedback.
All reactions