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

I want to hand grid dropdown events.

Technology must be angular js and mvc

I want to use dropdown with gridview

I want to access all the event of dropdown which is used in gridview

So how to access the event of dropdown which is used in gridview.

Need Example dropdown in gridview and want to handle events of that dropdown in grid.

1 Reply

SS Seeni Sakthi Kumar Seeni Raj Syncfusion Team September 18, 2015 12:02 PM UTC

Hi Bharath,

Thanks for contacting Syncfusion Support.

As per your requirements we have prepared a sample. Please refer to the following jsPlayground page,

We have rendered the ejDropDownList using the Column Template property of the Grid. The Change Event of the Grid used to access the values of dropDown, after a change in the dropdown list. “e-change” is the keyword used to place the change event in ejDropDownList. In similar way, other properties can also be prefixed by “e-”.

Please refer to the following code example and Help document for several other Events of ejDropDownList.

<div id="Grid" ej-grid e-datasource="data"




   <div e-columns>

        <div e-column e-field="OrderID" e-headertext="Order ID" e-textalign="left"></div>

. . .

       <div e-column e-headertext="Employee Temp" e-template="true" e-textalign="left">

            <input type="text" ej-dropdownlist e-datasource="$parent.list" class="drop" change="change" />


<script type="text/javascript">

    var dropList = [

                 { empid: "SelectedRowIndex", text: "SelectedRowIndex" }, { empid: "ViewRecord", text: "ViewRecord" }


    var data = [

        {OrderID: 10248, EmployeeID: 1},

        {OrderID: 10249, EmployeeID: 2},

        {OrderID: 10250, EmployeeID: 3},

        {OrderID: 10251, EmployeeID: 4},

        {OrderID: 10252, EmployeeID: 5}


   angular.module('listCtrl', ['ejangular'])

      .controller('PhoneListCtrl', function ($scope) {

          $scope.data = data; //DataSource of Grid

          $scope.list = dropList //DataSource of DropDown


   function change(args) {

        var gridObj = $("#Grid").ejGrid("instance");

            //do something


Help Document: http://help.syncfusion.com/js/api/ejdropdownlist#events

Seeni Sakthi Kumar S.

Live Chat Icon For mobile
Up arrow icon