grid Inline edit column dropdown binding

Hi,

how can grid inline edit dropdown list binding on the below code

col.Field("TripType").HeaderText("Trip Type").EditType(EditingType.Dropdown).Width(90).ValidationRules(v => v.AddRule("required", true)).Add();

1 Reply

VA Venkatesh Ayothi Raman Syncfusion Team November 27, 2017 09:33 AM UTC

Hi Safeena, 

Thanks for using Syncfusion products. 

By default, we have fetch the data for ejDropDownList while initially create the Grid and it will be bound automatically to the corresponding ejDropDownList at our source side itself, if we set the EditType as Dropdown in columns property which Is the default behavior of Grid control. Please refer to the following help documentation for more information, 

If you want to set the external data source for Dropdown while editing then we have built-in support of column’s property data source. In that property, we can assign the data source and its bounded to Dropdown while editing. Please refer to the following Help documentation, 

We have also created Knowledge base documentation for changing the Dropdown data source while editing. Please refer to the following KB, 


Please let us know if you have any further assistance on this. 

Regards, 
Venkatesh Ayothiraman. 


Loader.
Up arrow icon