Hi,
I have an xamdatagrid in which the last column contains two buttons : Edit and Delete. When I add a new record I want to hide those two buttons and add a new button called Save only for that row. Can someone please suggest how to achieve this.
Thanks
Hello,
Thank you for your post. I have been looking into the functionality that you have described and I can suggest adding the Save button over the other two buttons and using a trigger in the ControlTempalte of the CellValuePresenter to change the visibility of the save button, based on the Tag property of the Record. You can use the RecordInitialized, in order to set the Tag property of the newly added records and this way, to show the Save button to the newly added records. I have created a sample application for you, that demonstrates the approach I have mentioned.
Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
I am just checking if you require any further assistance on the matter.