- Home
- Forum
- Xamarin.Forms
- Locking Certain Rows in DataGrid?.
Locking Certain Rows in DataGrid?.
Hello,
I find this site very helpful! Ok..here's my problem. When the user selects a row (in the data grid) that they want to edit, I want the other rows to be locked. Is this possible?
thanks
iosman
SIGN IN To post a reply.
9 Replies
KK
Karthikraja Kalaimani
Syncfusion Team
May 5, 2020 01:16 PM UTC
Hi iOS Man,
Usually our SfDataGrid doesn't allow multi cell editing. So, can you please confirm what do you mean by locking the cells or whether you want to disable the entire cells other than edited cell?
Usually our SfDataGrid doesn't allow multi cell editing. So, can you please confirm what do you mean by locking the cells or whether you want to disable the entire cells other than edited cell?
Regards,
Karthik Raja
Karthik Raja
Hello,I find this site very helpful! Ok..here's my problem. When the user selects a row (in the data grid) that they want to edit, I want the other rows to be locked. Is this possible?thanksiosman
Thanks my issue has been fixed.
SS
Susmitha Sundar
Syncfusion Team
May 7, 2020 05:39 AM UTC
Hi iOS Man,
Thanks for the update.
We are glad to know that the reported problem has been resolved at your end. Please let us know if you have any further queries on this. We are happy to help you.
Regards,
Susmitha S
PH
Phila Hulaz
April 28, 2026 05:16 AM UTC
Glad to hear it’s resolved! For anyone facing the same issue, handling the row edit/selection event and making other rows read-only is a clean way to lock the grid while editing a single row.
DS
Dian Smith
May 31, 2026 09:33 PM UTC
Yes, this is possible. You can allow editing only on the selected row and temporarily disable editing or selection for all other rows until the changes are saved or canceled.
GS
Gowthamabalaji Sambath
Syncfusion Team
June 30, 2026 10:55 AM UTC
Phila Hulaz & Dian Smith,
Thank you for the suggestion. Please feel free to reach out if you need any further assistance; we will be happy to help.
Regards,
Gowthamabalaji Sambath.
MS
Muzammil Sheikh
July 20, 2026 07:11 AM UTC
Hi iOS Man,
Usually our SfDataGrid doesn't allow multi cell editing. So, can you please confirm what do you mean by locking the cells or whether you want to disable the entire cells other than edited cell?
MR
Muthupandy Ramakrishnan
Syncfusion Team
July 31, 2026 12:07 PM UTC
Hi Muzammil Sheikh, Dian Smith ,
SfDataGrid usually does not allow multi-cell editing. When a cell enters edit mode, other cells are automatically unavailable for editing. Once editing is completed and focus moves to another cell, the edited value is committed, and editing can then begin on the next cell. This is the expected behavior of the DataGrid.
We hope this clarifies the behavior. Please let us know if you need any further assistance.
SIGN IN To post a reply.
- 9 Replies
- 8 Participants
-
IM ios man
- May 3, 2020 06:09 PM UTC
- Jul 31, 2026 12:07 PM UTC