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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

return the selected object rather that value id

Thread ID:

Created:

Updated:

Platform:

Replies:

145928 Jul 14,2019 06:33 PM UTC Jul 15,2019 10:17 AM UTC Angular - EJ 2 1
loading
Tags: DropDownList
Hasan Rifaii
Asked On July 14, 2019 06:33 PM UTC

Hello

How to return the whole selected object rather that the value (like: id) ?

Prince Oliver [Syncfusion]
Replied On July 15, 2019 10:17 AM UTC

Hello Hasan, 

Thank you for contacting us. 

To get the whole selected object, you can use the getDataByValue property. You need to pass the value of the DropDownList in this method to get the whole object. Kindly refer to the following example: 


Let us know if you need any further assistance on this. 

Regards, 
Prince 


CONFIRMATION

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