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
1425
Sorting new items not working while items are grouped
posted

Hi,

I am refreshing sorting when I add new items in my grid. It works fine when items are not grouped. In case of grouping this refreshing doesn't work or new items are not placed in sorted order. I am refreshing sorting like this:

EventViewDg.Records.RefreshSort();

Any idea how to fix that?

Thanks,

Imad.

Parents
  • 138253
    Offline posted

    Hello Imad,

     

    Thank you for your post. I have been looking into it and I can suuegst you handle the XamDataGrid’s InitializeRecord event and add the following code in its handler:

    e.Record.RefreshSortPosition();
    

     

    Instead of calling the Records Collection’s RefreshSort method. Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

Reply Children