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

Bring data on selected item

Thread ID:





147159 Sep 3,2019 11:52 AM UTC Sep 5,2019 02:06 PM UTC Vue 1
Tags: DropDownList
Eda Toprak
Asked On September 3, 2019 11:52 AM UTC

I can fetch data from the database into the datagrid table with vuex. İn my database table i have two ids for each product. One id for german description and one id for english description of the same product. The first id is the Product with langcode german and then the second comes for english. So the Language codes are in German and English. When I try to bring the data, only English data comes to my table. But that's not what I want. I added a dropdownlist to the template. And put the option in English German language. For example, when I select German here, I want German data from my database. How can i solve this?

Sevvandhi Nagulan [Syncfusion]
Replied On September 5, 2019 02:06 PM UTC

Hi Eda, 

Greetings from Syncfusion support. 

We have checked the shared requirement. From the further analysis from your requirement we suspect that(“ You need to get the corresponding ID for the product chosen in the dropdownlist and based on the ID you need to filter the data from the database”). If so, you can get the selected chosen product Id through change event as mentioned below, 

methods: { 
       onChange: function(e){ 

Here we have prepared the simple sample based on the requirement. 

If we misunderstood your query , please revert more details that help us to validate further. 

  1. Code snippet and exact requirement in dropdownlist
  2. Whether you are using localization
  3. Whether you are using two dataSource
  4. Whether you are using dropdownlist for changing the language
  5. Screenshot of the reported issue
  6. Issue reproducing sample
  7. If possible , reproduce the issue in our sample

Sevvandhi N 


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