Getting MAPPING FIELDS MISSING Error

The gantt chart is working fine. But still we are getting error in the console. That error does not affect functionality but still we do want resolve it. Have attached the sample datasource and screenshot of the error

Below is the error

ej2.min.js:10 [EJ2TreeGrid.Error]: MAPPING FIELDS MISSING

One of the following fields is missing. It is required for the hierarchical relationship of records in TreeGrid:

* childMapping

* idMapping

* parentIdMapping

Refer to the following documentation links for more details.

https://ej2.syncfusion.com/documentation/api/treegrid#childmapping

https://ej2.syncfusion.com/documentation/api/treegrid#idmapping

https://ej2.syncfusion.com/documentation/api/treegrid#$parentidmapping


Attachment: sample_91a9643.zip

2 Replies

AG Ajithkumar Gopalakrishnan Syncfusion Team June 18, 2024 06:41 AM UTC

Hi Amar,

Greetings from Syncfusion Support.

We have tried to replicate the issue based on the provided datasource information, but we are unable to replicate the issue on our end. We have attached a video reference; please refer to it.

Video reference: https://www.syncfusion.com/downloads/support/directtrac/general/ze/message-1707083901

Sample link: https://stackblitz.com/edit/j6grh1-ozj29e?file=data-source.ts,index.ts,index.html,package.json

We request you to share more information to achieve your requirement. Kindly share the details below.

  • The complete code of the Gantt chart with package version.
  • Have you faced the issue in any specific scenario or when enabling specific properties?
  • If possible, replicate the issue in a shared sample and send it back to us.


Once we receive this information, we will be better equipped to identify the root cause of the issue and provide you with the necessary assistance.


Regards,
Ajithkumar G



AS Amar Shinde June 19, 2024 09:45 AM UTC

Thank you team. The issue is resolved. It was a version issue.


Loader.
Up arrow icon