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

Tree grid in inline edit with dropdown boxes

Thread ID:





141025 Nov 19,2018 07:22 PM UTC Nov 20,2018 12:05 PM UTC ASP.NET Web Forms 1
Tags: TreeGrid
David Price
Asked On November 19, 2018 07:22 PM UTC

When i'm in edit mode  I want the cells to have dropdown boxes that are populated from the database with dynamic data.

How is this done ? All I have managed to do is like this

<ej:TreeGridColumn Field="DataElement" HeaderText="&#10004;" EditType="Dropdown">
                            <ej:KeyValue Key="0" Value="0" />
                            <ej:KeyValue Key="1" Value="1" />
                            <ej:KeyValue Key="2" Value="2" />
                            <ej:KeyValue Key="3" Value="3" />
                            <ej:KeyValue Key="4" Value="4" />
                            <ej:KeyValue Key="5" Value="5" />

but I need to from the database.

Jesus Arockia Sankaran S [Syncfusion]
Replied On November 20, 2018 12:05 PM UTC

Hi David, 
Thank you for contacting Syncfusion support. 
We have analyzed your requirement, and we insist you share the details that whether you need to change the dropdown data dynamically while editing the TreeGrid column which helps us to provide you a better solution. Now, We have prepared the sample to assign the value to dropdown column from the database table on initial loading.  

Also, get back to us if you require any further assistance on this. 
Jesus Arockia Sankaran 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