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
100
Dynamically loading data in PivotGrid
posted

Hi

I would like to generate a binding to a non-XMLA compliant OLAP engine. Obviously I can generate my cube information manually and populate a data source as a once off; but my OLAP database has alot of data and I don't want to bind it all, I want to have the PivotGrid send a request on events.

For example, on first load, perhaps "Period.2008" is on the columns, and "Products.Level 1" is on the rows, so we have maybe 5 product categories and 12 months, so 60 cells. I will load 60 cells of data from the OLAP engine into the Pivot Grid.

Then though the user will drag & drop another dimension, say "Region.Level 1" onto the rows. Now I need to get the 6 continents and therefore I need 360 cells of data, so I want to go back and get that data. 

So essentially I want to trap an event when a user changes the rows/columns/filters, and when I get that event I want to know what is selected "on grid" and what filters are off grid, so I can generate my query to the OLAP engine, execute the query, get the data, and bind it to the grid.

Is this possible?

Thanks in advance,

Brendan 

Parents
No Data
Reply
  • 7922
    posted

    Hi Brendan,

     

    Sorry for delay.

    This is a feature that we are working on. The user will have control over the query that is execute against database. Is that what you are looking for?

     

    About notification of rows/columns/filters changes you can subscribe for

    pivotGrid.DataSource.Columns.CollectionChanged

    pivotGrid.DataSource.Rows.CollectionChanged

    pivotGrid.DataSource.Filters.CollectionChanged events.

     

    Regards

    Todor

Children