angular-ui/ui-grid

ui-grid-edit-dropdown is blured when cell is begun editing

Open

#6,202 opened on May 6, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (2,496 forks)batch import
good first issue

Repository metrics

Stars
 (5,395 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hello, guys.

I have faced with such a problem: the select of my items is shown when I dblclick on the cell, after that it disappears when I click on the select. Just to monitor that I set click and blur events on the select element and when I click on it the blur event happens just right after that.

here is the cell option { cellTemplate: '<div>{{ row.entity.deviceType }}</div>', displayName: this.$filter('prefixTranslate')('device_type', 'devices'), field: 'deviceType', key: 'deviceType', name: 'column_device_type', height: 40, width: '10%', enableCellEdit: true, editableCellTemplate: , editDropdownValueLabel: 'id', editDropdownOptionsArray: [ { id: 'something' } ] }, I have searched for this problem but there is nothing I can do.

Couldn't you tell whether it's a bug or not and how can I fix that?

Thank you and good luck!

Contributor guide