imperium2335
imperium2335

Reputation: 24122

KendoUI Grid single click dropdown activation

Currently when I want to pick an item from a list in my grid I have to click twice.

First click makes the dropdown selector appear, second click opens up the list so I can pick an item.

How do I make it so I only have to click once to activate the dropdown selector and open the list?

Upvotes: 3

Views: 1915

Answers (1)

Petur Subev
Petur Subev

Reputation: 20203

Use the edit event of the Grid and the open method of the DropDownList.enter link description here

e.g.

edit:function(e){
    var ddl = e.container.find('[data-role=dropdownlist]').data('kendoDropDownList');
    if(ddl){
       ddl.open();
    }
},

Here is live example.

Upvotes: 8

Related Questions