add complix data to same column same row

Is it possible to achieve this Displaying complex data in the same row So that I have an object and this object has a list of each key inside it 

I want to display the names in the same column and the same row for the object in the list that I fetch by JSON from the server so that this data for one object is similar to the tags

as below image table and data 

I have list of object inside each object there is other list for object branch & services 


I try this :

    {field: 'BRANCHES.BRANCH_NAME', headerText: gLungPage.lblBranch, textAlign: 'Center', width: 130,  },

but not work 

I try this :

    {field: 'BRANCHES.0.BRANCH_NAME', headerText: gLungPage.lblBranch, textAlign: 'Center', width: 130,  },

just back first child in list 


example.png


1 Reply

VS Vikram Sundararajan Syncfusion Team February 6, 2024 03:37 PM UTC

Hi enas,


Greetings from Syncfusion support,


We understand that you are working with Syncfusion Ej2 Grid in your project and are facing challenges with nested JSON properties. While the grid component supports complex data binding using the dot (.) operator for nested or complex data structures, we'd like to inform you that the current version of Syncfusion Ej2 Grid does not directly support the specific structure of data binding you have described, especially with inner level array collections. Also, displaying nested arrays directly as columns within the grid, as per your requirements, is not currently feasible with Syncfusion Ej2 Grid.


Please let us know if you need any further assistance.


Regards,

Vikram S


Loader.
Up arrow icon