BUG: Not Editable Row becomes Editable

I have a grid that allows CRUD.

An Add Item button prompts a modal that browse for Items, then after selection adds a new row programmatically to the grid using AddRecordAsync.

The first column is [Item No], next is [Description], both are not editable.

These are both filled up after selection on Item Browser.

Then I decided to allow change item, so I allow editing for [Item No].

For testing purpose, it would just be free text, then I would just update the [Description] on cell save.

So to test, I added an item, double-click on the [Item No] to change it, which triggers the cell to edit mode.

I have an sample number on clipboard so I select all text on existing [Item No], and paste (Ctrl+V) new value.

The new value is shown, then I press TAB key on keyboard, expecting to end edit mode and save the new value.

It did but then the focus moves to the next cell [Description], and opens the cell to edit mode.

If I move out of focus, to end edit, it does. But if I double-click back to [Description], i cannot edit it anymore.

Screenshot_23.png

This is definitely a bug. The GridColumn [Description] has AllowEditing="false" set.


Attachment: Screenshots_14c15d75.zip

2 Replies

ND Noel Dacara April 19, 2022 04:48 PM UTC

Also, when this happens, ALL cells on the row will be editable as you press TAB to change cells.



MS Monisha Saravanan Syncfusion Team April 20, 2022 02:00 PM UTC

Hi Dacara,


Greetings from Syncfusion support.


Before proceeding further with your requirement, we need some more details about your requirement. So kindly share the following details.


  1. Share the Grid code snippet along with grid event handlers.
  2. You have mentioned that you are changing AllowEditing as true for [ItemNo]. Share us the way you have enabled editing for particular column.
  3. Share us the way you have updated the description columns on cell save handler.
  4. Share us the video demonstration of the issue explaining your query.
  5. If possible share us the issue reproduceable sample.


The above-requested details will be very helpful for us to validate the reported query at our end and provide the solution as early as possible.


Regards,

Monisha


Loader.
Up arrow icon