kartik-v / yii2-grid

Enhanced GridView with various utilities for Yii Framework 2.0
http://demos.krajee.com/grid
Other
556 stars 302 forks source link

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

Open neoacevedo opened 2 years ago

neoacevedo commented 2 years ago

Prerequisites

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

Operating System

Libraries

Isolating the problem

neoacevedo commented 2 years ago

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

stale[bot] commented 2 years ago

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 commented 10 months ago

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.