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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to add metadata key value pair in treegrid

Thread ID:

Created:

Updated:

Platform:

Replies:

149629 Dec 4,2019 02:24 AM UTC Dec 5,2019 01:18 PM UTC Angular - EJ 2 4
loading
Tags: TreeGrid
Dayakar Reddy
Asked On December 4, 2019 02:24 AM UTC

Hi, how to add key value pair in treegrid for one of a column and how to set and get the entered values.

please find the below url i need similar kind of function in syncfusion treegrid


Thanks,
Dayakar

Gowri Loganathan [Syncfusion]
Replied On December 4, 2019 01:28 PM UTC

Hi Dayakar, 
Thanks for using Syncfusion Products. 

Query: how to add key value pair in treegrid for one of a column and how to set and get the entered values. 
We analysed your query at our end and we need some details to achieve your requirement. 

Kindly provide the following details 
1.Can you share the TreeGrid UI representation with a sample json data. 
2.Can you share the treegrid code snippet. 

Please revert us if you need further assistance. 
Regards, 
Gowri VL. 


Dayakar Reddy
Replied On December 4, 2019 03:49 PM UTC

Hi, i attached code and metadata column should be custom control. metadata field is jsondata of key value pair , the metadata control should be like in the link below 
user should have option to add or remove key value pair in that control as below link

Attachment: angularcorewebapitreegrid_3e027a81.zip

Dayakar Reddy
Replied On December 5, 2019 02:26 AM UTC


hi, please find image , i am looking for such functionality in grid for one column , use can add or edit or remove key value pair in metadata. 

Attachment: meta_6c875b84.zip

Gowri Loganathan [Syncfusion]
Replied On December 5, 2019 01:18 PM UTC

Hi Dayakar, 

Thanks for the update. 

We have analysed your query at our end and we need some more details to proceed further.As per the screenshot provided in your previous update we suspect that you want to add this saved data to your metadata column of TreeGrid. 
We have attached the screenshot to confirm whether you want this type of editing. 

DialogTemplate  
 
Kindly refer the below link for dialogTemplate documentation:- 

Please share us the below details. 
1.Treegrid output screenshot. 
2.Type of editing that you need. 

Please get back to us if you need any further assistance. 

Regards, 
Gowri V L. 


CONFIRMATION

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