Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using a DropDown editor inside an incell editor template Grid with autoSync DataSource of a PopUp editor of the main Grid causes the next cell edit to automatically close the cell #6248

Closed
PreslavKozovski opened this issue Jan 25, 2021 · 2 comments
Assignees
Labels
Milestone

Comments

@PreslavKozovski
Copy link
Contributor

PreslavKozovski commented Jan 25, 2021

Bug report

Using a DropDown editor inside an incell editor template Grid with autoSync DataSource of a PopUp editor of the main Grid causes the next cell edit to automatically close the cell.

reported in 1503597

Reproduction of the problem

  1. Open https://dojo.telerik.com/IqUmOSev
  2. Click Add new record.
  3. In the Popup, click Add new record.
  4. Select a value from the DropDown
  5. Click on the Product Name cell.

Note; If the user clicks anywhere outside of the second Grid - the issue is not replicated.

Current behavior

The cell closes the first time the user clicks on it.

Expected/desired behavior

The cell is not closed.

Environment

  • Kendo UI version: 2021.1.119
  • Browser: [all]
@PreslavKozovski
Copy link
Contributor Author

Possible workaround:

Manually editing the cell of the same row during the save event of the Grid.

              save: function(e) {
                var grid = e.sender;
                var uid = e.model.uid;
                var nextCellId = grid.cellIndex(e.container) + 1;
                
                setTimeout(function() {
                	grid.editCell($("[data-uid='" + uid + "'] td:eq(" + nextCellId + ")"));
                }, 100);
              }

For a runnable example - https://dojo.telerik.com/ULUQOTiH

@Iankodj
Copy link
Contributor

Iankodj commented Feb 16, 2021

@dmanova dmanova added FP: Completed Sync status with associated Feedback Item and removed FP: Unplanned Sync status with associated Feedback Item labels Feb 17, 2021
@dmanova dmanova added this to the 2021.R1.SP.next milestone Feb 17, 2021
@dmanova dmanova closed this as completed Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants