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
1650
Synchronizing VM items with grid order
posted

Hi there

What's the recommended pattern to synchronize the order of items in a bound collection with the order in the grid (preferrably without code-behind in the view)?

As an alternative, I was thinking about adding an OrderIndex property to my VM items and binding these to the indices of the bound record. Can this be done in XAML?

Thanks for your advice

Philipp

  • 9694
    posted

    Hello,

    I apologize that this post was not answered. We are making the effort to ensure all posts are addressed by an Infragistics expert. I was wondering if you still need our assistance in this matter.

    To answer your question, the grid support sorting. Using built-in sorting techniques would be more efficient than trying to do this through binding.

    Sincerely,