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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to provide checkbox or enable/disable button in every node

Thread ID:

Created:

Updated:

Platform:

Replies:

143626 Mar 29,2019 10:25 AM UTC Mar 29,2019 12:18 PM UTC Angular - EJ 2 1
loading
Tags: TreeGrid
Ebenezer
Asked On March 29, 2019 10:25 AM UTC

Hi, 
     I'm trying to provide enable/disabled button for each node and also for its child node. If a parent node is disabled then its corresponding child node should also be disabled, but i couldn't able to get this functionality done with tree grid control.




 Regards,
Justin Ebenezer

Attachment: tree_grid_3424d8f5.zip

Vignesh Natarajan [Syncfusion]
Replied On March 29, 2019 12:18 PM UTC

Hi Justin Ebenezer, 
 
Thanks for using Syncfusion products. 
 
Query: “How to provide checkbox or enable/disable button in every node 
 
From your query, we understand that you need to render the checkbox or enable/disable button inside the Treegrid to disable every node in it. From 2019 Volume 1 beta release we have provided support to render the checkbox column.  
 
Kindly refer the below Demo and Ug documentation for your reference 
 
 
 
For each checkbox selection, checkboxChange event will be triggered. So, in this event you can enable or disable the node. Please refer the below link for API reference 
 
 
Using the “checkboxChange” event, you can enable/disable checkbox of child node while enabling/disabling parent’s checkbox. 
 
So kindly share more details about your requirement (i.e) disable means do you want prevent the selected row from editing or change the opacity or remove from visibility etc. based on your requirement we will provide the solution. 
  
Regards, 
Vignesh Natarajan. 


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

;