Get the ValueChange event from Grid EditType.DropDown

Hi - Is it possible to get an change event from a Grid EditType.DropDownEdit? 

I try to change cascade change data in next column, depending on this column. 
<GridColumn Field=@nameof(OrdersDetails.ShipCountry) HeaderText="Ship Country" EditType="EditType.DropDownEdit" Width="150"></GridColumn>


If I nest a EjsDropDownList inside an EditTemplate, in a  GridColumn, the data on the OnActionBegin (RequestType == Save) does not change to the new value. 

 


1 Reply

VN Vignesh Natarajan Syncfusion Team February 26, 2020 05:23 AM UTC

Hi Soren,  
 
Greetings from Syncfusion support.  
 
Query: “If I nest a EjsDropDownList inside an EditTemplate, in a  GridColumn, the data on the OnActionBegin (RequestType == Save) does not change to the new value. && Is it possible to get an change event from a Grid EditType.DropDownEdit? 
 
From your query we suspect that you want to change the value of another column while selecting a value from DropDownList. You can achieve your requirement using EditTemplate feature of EjsGrid. we have UG documentation on how to perform cascading DropDownList in Grid 
 

Note: using Edit Params we can customize the DropDownList or Default editor controls. But we cannot bind event to default dropdown edit in Grid. Refer the documentation on Edit params for your reference 


If above solution does not match your requirement, kindly get back to us with more details about your requirement. Also share details about your OnActionBegin event.   
 
Regards, 
Vignesh Natarajan. 
 


Loader.
Up arrow icon