Cannot find module '@grapecity/dataviews.common/en'

Posted by: jak93861 on 2 December 2020, 1:26 am EST

    • Post Options:
    • Link

    Posted 2 December 2020, 1: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 6 December 2020, 7:47 pm 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 Localization | Developer's Guide | GrapeCity DataViewsJS Docs

    Regards Avinash

  • Posted 7 December 2020, 8:07 pm 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 8 December 2020, 7:52 pm 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 15 December 2020, 7:33 pm EST

    Hi,

    The Dev team informed us that The column presenter definition uses doT.js syntax (doT.js - the fastest and concise javascript template engine for Node.js and browsers). You can define a React component that is accessible through the dot notation. More info can link React Component with Dot Notation | by Risan Bagja | Code | Medium .

    Regards Avinash

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels