Aggregate key keeping entity property name

May 1, 2012 at 6:13 PM

I have an entity and viewmodel mapping differently named properties of $amounts.  I configured the grid for ajax and client side Sum aggregation.  The helper computes the aggregate ok, and puts the results into the GridModel object.  The problem is that the Aggregate result in the GridModel is keeping the key as the property name of the Entity, while it should be named after the property name of the ViewModel.  I tried mapping the properties with GridModelMapper.CreateMap but that didn't help.

May 1, 2012 at 6:27 PM

I can also confirm that naming the ViewModel and Entity properties the same names fixes the issue and the aggregate appears correctly on the grid.

Coordinator
May 2, 2012 at 1:39 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
May 3, 2012 at 11:54 PM

Alex, can I consider this issue resolved in the last release?