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
345
Cell Values not refreshing on RefreshGrid() when an area contains filter property
posted

Hi, I'm having a problem refreshing the XamPivotGrid (v.12.1) layout when I'm changing the value of an ItemSource object's property that is contained within a visible column area.

This is a bit complicated to explain, so I've attached sample files (modified from the StartupSolution) showing the problem:

I have a flat datasource with a Columns area set to "[Quarter].[Quarter],[IsDeleted].[IsDeleted]" and a Measure="Amount".

When I'm changing the "Amount" of the object and call FlatDataSource.RefreshGrid(), this change gets rendered correctly. However, when I change the "IsDeleted" property, I would expect the grid to render this change as well, moving the record from the "[IsDeleted].&[True]" column to the "[IsDeleted].&[False]" column, but it does not do that.

On the attached example, I have two buttons which simulate those events: one calls "Add_1000_Click" which adds 1000 to the existing amount (working), the other calls "Change_IsDeleted_Click_1" which switches the boolean IsDeleted value. The "Change_IsDeleted_Click_1" has no effect.

Can you please show me what I'm missing to make this work?

Thanks for your help,

Roman

PivotGrid_FlatData.zip