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

Update one dropdown, and other dropdowns with the same value update too

Thread ID:





121583 Jan 5,2016 10:27 AM UTC Feb 12,2016 12:22 PM UTC JavaScript 6
Tags: ejGrid
Greg Gannicott
Asked On January 5, 2016 10:27 AM UTC

Given the following example:


When you update the value for a dropdown that has the value "Country1", the other dropdowns that have that value also update.


- Although the example above uses, we are able to reproduce this in
- The ng-model applied to the element (by the ej-dropdownlist directive) uses the value of the variable that is passed in to the e-value attribute. As a result, it seems like all three dropdowns are using a newly created $scope.Country1 variable.
- I don't know whether this is a bug in your control, or whether we're using it incorrectly? Please advise. 


Arun Palaniyandi [Syncfusion]
Replied On January 7, 2016 01:52 PM UTC

Hi Greg,

Sorry for the inconvenience,

We have confirmed that the issue “When assign value instead of scope variable in  ‘e-value’ attribute in DropDownList[angular], it’s not rendering properly” is a defect. The fix for this issue will be included in our Volume 4 SP1 release in February 2016  

Arun P

Arun Palaniyandi [Syncfusion]
Replied On January 28, 2016 01:23 PM UTC

Hi Greg,

Thanks for the patience,

We suggest you to use the grid’s default angular template feature instead of external element compilation to render the ejDropDownList inside the grid since it compiled against current scope. Please find the below code snippet

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

                     . . . .


                    <div e-columns>

                       . . . . .

                        <div e-column e-field="accessGroupMarking" e-headertext="accessGroup" e-width="100">

                            <input type="text" class="drpAccessGroup" ej-dropdownlist e-fields-id="targetName" e-datasource=$parent.accessGroupData e-fields-text="markingString" e-fields-value="markingString" e-width="100%" e-selecteditemindex="0" e-change="$parent.setTargetAccessGroup" e-value="data.accessGroupMarking" />



Please find the modified sample below.

Please let us know if you have any queries,

Arun P

Greg Gannicott
Replied On February 1, 2016 09:16 AM UTC

Hi Arun.

The e-columns directive looks like a very helpful feature, thanks.

You'd previously stated that a fix was due in the Volume 4 SP1 release in February 2016.

If we weren't to use the e-columns directive, would a fix still occur once we've upgraded to Volume 4 SP1?


Arun Palaniyandi [Syncfusion]
Replied On February 3, 2016 06:09 AM UTC

Hi Greg,

Thanks for the update.

Query: “If we weren't to use the e-columns directive, would a fix still occur once we've upgraded to Volume 4 SP1?”

We have analyzed further on this issue and we regret to let you know that this issue does not require any source level fix as we promised earlier. We found that using e-columns directive is the proper way to define columns especially templates in angular initialization of grid as we suggested in previous update because without using column directives in angular mode will results in un-expected behavior since all the sub-controls were compiled against same scope. So we suggest you to use e-column directive in your application level to resolve the issue.

Kindly let us know if you have any other queries.

Arun P

Sarah Roper
Replied On February 11, 2016 10:10 AM UTC

although your modified example using the template feature works for updating a single dropdown if you use grouping on the grid when you ungroup the combo boxes disappear and are replaced by a text box

to reproduce this go to your modified sample 

run it
drag the targetNumber column into the header to group
click X to ungroup
accessGroup column appears as text boxes instead of combo boxes

please can you let me know how to get grouping working for this situation


Ragavee U S [Syncfusion]
Replied On February 12, 2016 12:22 PM UTC

Hi Sarah,

We considered this query “Template column not rendering when ungrouping a column” as a bug and a support incident has been created under your account to track the status of this issue. Please log on to our support website to check for further updates.


Ragavee U 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

or the page will be automatically redirected to 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