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

On pressing the tab button show dropdown popup

Thread ID:

Created:

Updated:

Platform:

Replies:

147918 Sep 27,2019 11:42 AM UTC Oct 2,2019 12:30 PM UTC Angular - EJ 2 3
loading
Tags: DropDownList
thowfik
Asked On September 27, 2019 11:42 AM UTC

I have a list of controls like textboxt dropdown in a form on pressing the tab button the controls of textbox goes to next  controls sameway 
How to show the dropdown popup On pressing the tab button in keyboard.
Thanks in Advance
Regards 
Thowfik

Ashokkumar Balasubramanian [Syncfusion]
Replied On September 30, 2019 10:53 AM UTC

Hi thowfik, 
 
Good day to you. 
 
For this scenario, you can bind the keypress event to input element and using showPopup method to show the popup element in Drop down List component. Please refer the below code block. 
 
public onCreated(){ 
        this.listObj.element.addEventListener('keyup', function (e) { 
            if (e.keyCode === 9) 
                document.getElementById('games').ej2_instances[0].showPopup(); 
        }); 
    } 
 
 
Kindly check the above sample and let us know if you need any further assistance. 
 
Regards, 
Ashokkumar B. 


thowfik
Replied On October 1, 2019 08:10 AM UTC

Hi,

Thanks for your valuable reply,

I need same for the  ejs-datepicker

Thanks in Advance
Regards 
Thowfik

Berly Christopher [Syncfusion]
Replied On October 2, 2019 12:30 PM UTC

Hi Thowfik,

 
We have prepared the sample based on the requested requirement in EJ2 DatePicker and attached it below.

 

 
Regards,
Berly B.C




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