We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to add Hirerarchical data by add icon in each row of grid using angular

Thread ID:





147701 Sep 20,2019 09:38 AM UTC Sep 20,2019 10:54 AM UTC Angular - EJ 2 1
Tags: Grid
Dinesh D
Asked On September 20, 2019 09:38 AM UTC

I am using Ejs-grid to display the table data. i need to include a "add" icon in each of the row to add the child data to the parent row. How to do that, i attached the model output below

Seeni Sakthi Kumar Seeni Raj [Syncfusion]
Replied On September 20, 2019 10:54 AM UTC

Hi Dinesh,  
Greetings from Syncfusion.  
By default, Grid supports a Custom Command column to add buttons to the Grid columns. We have already discussed about adding custom command in the Grid column in the following Help Document.  
We could see you would like to add a record to its child record to respective parent data. In the command button’s click event, we can add the record to the childGrid.dataSource. 
We couldn’t see any attachment in your update.  
Seeni Sakthi Kumar S 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon