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

EditableColumn - refreshGrid dones't allow a 3th edition #1000

Open
10 of 16 tasks
neoacevedo opened this issue Oct 14, 2021 · 3 comments
Open
10 of 16 tasks

EditableColumn - refreshGrid dones't allow a 3th edition #1000

neoacevedo opened this issue Oct 14, 2021 · 3 comments

Comments

@neoacevedo
Copy link

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest master branch of yii2-grid.
  • This is not an usage question. I confirm having gone through and read the documentation and demos.
  • This is not a general programming / coding question. (Those should be directed to the webtips Q & A forum).
  • I have attempted to find the simplest possible steps to reproduce the issue.
  • [] I have included a failing test as a pull request (Optional).

Steps to reproduce the issue

  1. I edit a cell with a dropdownlist and I update its value
  2. I edit another (or the same cell) and I update its value
  3. If I do click in any editable cell, the popup won't show anymore, I have to refresh the page.

Expected behavior and actual behavior

For step 1: The row will show the ID instead of the configured value.
For step 2: Here, if I edit the same column, the value still is the same ID, but if I edit another column, the value is the configured in the value setting for the column.

The step 3 is descriptive.

I was expecting, for steps 1 & 2, after editing the row with the dropdownlist, to see the configured value instead of the ID.
For the step 3, to show again the popup to edit any row.

Environment

Browsers

  • Google Chrome
  • Mozilla Firefox
  • Microsoft Edge
  • Safari

Operating System

  • Windows
  • Mac OS X
  • Linux
  • Mobile

Libraries

  • jQuery version:
  • yii2-grid version: 3.3.6

Isolating the problem

  • This bug happens on the demos page
  • The bug happens consistently across all tested browsers
  • This bug happens when using yii2-grid without other plugins.
@neoacevedo
Copy link
Author

About the displayed value after update, the displayValueConfig option did the trick, but, about to try to edit another row, the problem exists.

@stale
Copy link

stale bot commented Jan 9, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@neoacevedo
Copy link
Author

I know it's an old issue but just recently saw the issue: if I set the refreshGrid option to true, when I try to edit the same or any other cell, the popover won't show, but if I set the above option to false, then the popover will show.

@neoacevedo neoacevedo reopened this Nov 25, 2023
@stale stale bot removed the wontfix label Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant