Posted 2 December 2020, 10:26 am EST
After npm Installing @grapecity/dataviews.react and tried to launch with the given example in the Documentation, It shows an compilation error as Cannot find module ‘@grapecity/dataviews.common/en’.
Forums Home / Spread / DataViewsJS
Posted by: jak93861 on 2 December 2020, 10:26 am EST
Posted 2 December 2020, 10:26 am EST
After npm Installing @grapecity/dataviews.react and tried to launch with the given example in the Documentation, It shows an compilation error as Cannot find module ‘@grapecity/dataviews.common/en’.
Posted 7 December 2020, 4:47 am EST
Hi,
DVJS does not provide any @grapecity/dataviews.common/en package. Could please provide the sample which replicates the issue? so that we could investigate it further.
If you just want to change the locale cultureInfo you may refer to the following docs https://www.grapecity.com/dataviewsjs/docs/dev-guide/using-dataviews/localization#localization
Regards
Avinash
Posted 8 December 2020, 5:07 am EST
Hi,
That issue is solved , it was because of some typescript version mismatch.
How can we render a custom react component in a column? In some examples you are giving the html as string to render that in grid , but I need to render a react component in a column instead of string value. Could you please help on this.
Posted 9 December 2020, 4:52 am EST
Hi,
We are sorry but this feature is currently not supported. Further, we have made an enhancement request on your behalf. We will update you on the development of this case. The internal ID for this case will be JSVIEW-697.
Regards
Avinash
Posted 16 December 2020, 4:33 am EST
Hi,
The Dev team informed us that The column presenter definition uses doT.js syntax (http://olado.github.io/doT/index.html).
You can define a React component that is accessible through the dot notation. More info can link
https://medium.com/risan/react-component-with-dot-notation-7a9853dbf33b .
Regards
Avinash