Disable rows in datagrid silverlight 2.0

I have a datagrid, and when the user tries to edit a row, I want only this row to be edited, and all other rows to be disabled. Is it possible? I tried looking for datagrid.rows but it is not.

Please, help

Thanks Sai

+3
source share
1 answer

Take a look at BeginEditand EndEditevents here . If the default behavior does not prevent you from editing other lines during editing, you can put some code in these events to disable the selection of other lines in edit mode.

0
source

Source: https://habr.com/ru/post/1772642/


All Articles