Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
850
Controllable edit icon
posted
Normal 0 false false false EN-GB X-NONE X-NONE

I have a XamDataGrid which is bound to an entity (entity framework) through a BindingList. The grid contains the basic columns from the entity. If I edit the fields on the grid, the grid displays a nice edited icon. My question is how can I show that edit icon if the entity is modified outside of the grid?

For clarification, the grid allows the users to edit only the basic fields from an entity. There is a more detailed editor underneath the grid that allows users to edit more information about the entity. If the user edits the information in the detailed editor, it updates the entity but doesn’t show the edited icon.

Parents
No Data
Reply
  • 138253
    Verified Answer
    Offline posted

    Hello chinupson,

    Thank you for your post. I have been looking through it and I assume you bind your additional editor textboxes directly to the DataSource and the update doesn’t go through the XamDataGrid and this is why you don’t get the update icon. I attached a sample project with both ways of binding, so you can see the difference. In order to get the update icon the textbox should be bound to the XamDataGrid’s Cell. Please let me know if this meets all your requirements or you need any further clarifications on this matter.

    Looking forward for your reply.

    xamDataGridUpdateIcon.zip
Children