We are trying to achieve the editable row using an edit button.
We are facing an issue when the user selects a different row. The newly selected row is automatically entering the edit mode.
We want to make sure that the row is editable only when the edit button is clicked.
I have attached a sample showing the issue.
Basically, we want to track which record has to be edited, through MVVM pattern.
Hello Vijay,
Thank you for your post.
I have been looking into it, but it seems like I am missing something from your scenario. Could you please provide me with more details about the functionality you are looking for? It would be great if you could share a screenshot of the behavior you are trying to achieve.
Looking forward to hearing from you.
Please find the attached image with what we want to achieve
let us know any clarification required.
I have been looking into your requirements and the sample project you have provided. In order to be able to achieve your goal, what I can suggest is to change your binding in order to bind the actual property from your underlying data, so you will receive notification for that property.
You can create global style for XamTextEditor in the Resources of XamDataGrid and set this style for each field by using its EditorStyle property. In your commands you can get the current DataItem, access the IsReadOnly property and set it to the value you wish. I have updated your sample application in order to show you how you can implement this approach and achieve the functionality you are looking for.
Please do not hesitate to let me know if you require any further assistance regarding this matter.
Hello,
I am just checking your progress on the issue that you are having.
If you require any further assistance please do not hesitate to ask.
Hi,
we have fixed the issue and its working as we expected
By single click of the hyperlink it will navigate to browser and double click of the hyper link it will change to Editing Mode.
Thanks for your support.