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
325
DataValueChanged Update Sort
posted

I'm using 

                <igDP:FieldSettings

                    DataValueChangedScope="Default"

                    DataValueChangedHistoryLimit="0"

                    DataValueChangedNotificationsActive="True" 

On my XamDataGrid and with style customizations on the CellValuePresenterStyle the cell content is current changing. The problem is when i click to sort a column and a cell in this column is update the sort loses is effect. The Group By also have this behavior. How to keep sort or if cell value is updated?

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello,

     

    It has been a while since you have made your post, in case you still need support I will be glad to assist you further. I suppose the other community members can benefit from this answer as well. I have been looking through your post and I suggest you use this code:

     

    e.Cell.Record.RefreshSortPosition();

     

    in the EditModeEnded event of the XamDataGrid. This way the grouping and sorting will refresh every time you change some Cell’s Value.

     

    Feel free to write me if you have further questions.

Children
No Data