This is a migrated thread and some comments may be shown as answers.

[Solved] Can we auto pop open combobox cell editor when cell goes into edit

1 Answer 59 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 07 Feb 2015, 10:25 AM
Hi, I have a combo box as a cell editor (see attached)

Is there a way to open pop open the combo popup as soon as the editor goes into edit mode (either by the user using Tab to arrive, there, or by clicking on the cell)

Thanks in advance for any help
regards, Peter

1 Answer, 1 is accepted

Sort by
0
Alexander Popov
Telerik team
answered on 11 Feb 2015, 07:44 AM
Hi Peter,

Yes, this can be done by subscribing to the Grid's edit event. Once the event is trigger you can try finding a ComboBox instance inside the cell and eventually, call its open method. For example: 
$scope.gridOptions = {
  edit: function(e){
      var cb = e.container.find("[data-role='combobox']").getKendoComboBox();
      if(cb){
          cb.open();
      }
  },

Regards,
Alexander Popov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Peter
Top achievements
Rank 1
Answers by
Alexander Popov
Telerik team
Share this question
or