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
295
xamPivotGrid - Looking for event before the database is queried
posted

I'm looking for an event that fires before the SSAS database gets queried.  I want to be able to modify the Columns/Rows/Measures/Filter of the datasource programatically before every call to the database.

Example:
User drags a measure into the grid to add it.  Then the grid gets updated with the new data.  I want to change the Columns/Rows/Measures/Filter that get sent before the grid updates with the new data.

I looked at pivotGrid.DataSource.PropertyChanged, but it fires a LOT on each action the user does.  This would probably work, but doesn't seem to be what I'm looking for.

I looked at pivotGrid.DataContextChanged but it didn't fire when I was expecting.

Thanks for any help on this.

-BEP