Welcome Guest Search | Active Topics | Sign In | Register

Keyboard event for Dropdownlist in Grid Options
swamysm
Posted: Thursday, February 24, 2011 11:38:28 PM
Rank: Newbie
Groups: Member

Joined: 2/14/2011
Posts: 7
Is that possible to make the EO Grid keyboard userfriendly..
Particularly Dropdown list to be operated through keyboard buttone

Regards
Swamy
eo_support
Posted: Friday, February 25, 2011 7:55:20 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You will need to set the Grid's EnableKeyboardNavigation to true. For drop down list box, you will need to handle your CustomColumn's ClientSideBeginEdit to focus your list box with a timer:

Code: JavaScript
function your_client_side_begin_edit_handler()
{
    setTimeout(function()
    {
         document.getElementById("your_drop_down_id").focus();
    }, 100);
}


Once you give focus to your listbox, you will be able to use keyboard to select item.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.