Basant,
thanks a lot for the example you provided and please accept my apologies for taking so long to get back to you.
Out of the box the solution you provide works however, unfortunately, the issue hasn’t been resolved.
To reproduce it, I added a new column to the Product object
new Product{OneMore ="X", Name="A", Line ="A1", Price=10, Discontinued = false},
So to have the product list having the same value for every items
_products = new List<Product>()
{
new Product{OneMore ="X", Name="A", Line ="A1", Price=10, Discontinued = false},
new Product{OneMore ="X", Name="A", Line ="A2", Price=15, Discontinued = true},
new Product{OneMore ="X", Name="A", Line ="A3", Price=20, Discontinued = false},
new Product{OneMore ="X", Name="B", Line ="B1", Price=10, Discontinued = false},
new Product{OneMore ="X", Name="B", Line ="B2", Price=15, Discontinued = true},
new Product{OneMore ="X", Name="B", Line ="B3", Price=20, Discontinued = false},
new Product{OneMore ="X", Name="C", Line ="C1", Price=10, Discontinued = false},
new Product{OneMore ="X", Name="C", Line ="C2", Price=15, Discontinued = true},
new Product{OneMore ="X", Name="C", Line ="C3", Price=20, Discontinued = false},
};
Now, the steps to replicate the issue are:
- sort the column by OneMore
- group by Name
Now the grid is sorted by OneMore and the shuffling of the rows on editing still happens.
Thanks for the attention