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
610
Icon disappears after changing row even if the data has been changed
posted

I'm working with xamDataGrid. Usually when I start editing a row, an icon appears on the left side. It indicates that the row has been changed but not committed yet.

The problem is: when I try to go to another row, the previous icon (this icons kind of surrounds the black right arrow, plus there's another small arrow that appears at the top) disappears. And this is not right since the previous row is still "dirty" and nothing has been committed yet.

Is there any setting that I should set or this is a bug of the control?

 

Best regards.

  • 27093
    posted

    Hello,

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.

    If the above suggestion helped you solve your issue please verify the thread as answered so other users may take better advantage of it.

  • 27093
    posted

    Hello,

     

    I have been reading through your enquiry and can say that this is the expected behavior for the XamDataGrid. The updates are  controlled by the XamDataGrid’s UpdateMode property which by default is set to OnRowChangeOrLostFocus. If you were to switch it to OnUpdate you will be able to manually enclose the editing by calling the ExecuteCommand method of the XamDataGrid class likes so:

     

    xamDataGrid1.ExecuteCommand(DataPresenterCommands.CommitChangesToAllRecords);

     

    Hope this clarifies things. Please let me know if you require any further assistance on the matter.