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
285
Progress Indicator
posted

Hi,

I am trying to implement our customer Progress indicator since there is no default ones available in the pivotGrid. What events would I subscribe to that would give me the start of executing a command and the end of execution?

Thanks

  • 8831
    posted

    Hello,

    If you are looking for a property that can gives you information about whether query execution (adding/removing hierarchies or measures) is in progress you can try DataSourceBase.Processing property. It has a value of true until the async operation is not completed.

     

    Please let me know if that covers your needs.

     

    Regards.

    PPilev.

  • 816
    Suggested Answer
    posted

    Check out some of the following events:

    PivotGrid.DataSource.Columns.CollectionChanged
    PivotGrid.DataSource.Rows.CollectionChanged
    PivotGrid.DataSource.Filters.CollectionChanged
    PivotGrid.DataSource.Measures.CollectionChanged

    and/or

    PivotGrid.AxisExpansionChanged
    PivotGrid.ColumnSorted
    PivotGrid.SelectedColumnsCollectionChanged
    PivotGrid.SelectedRowsCollectionChanged

    You can set your indicator on some of these events, and then clear it on

    PivotGrid.DataSource.ResultChanged

    Hope that helps.