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
1210
UltraPivotGrid: Is there an event that fires when it completes rendering?
posted

I am expanding rows to level 1 in my PivotGrid. I put the code in the InitializeRow event of the grid:

If e.Row.IsExpandable AndAlso
               Not e.Row.Expanded AndAlso
               Not myFDS.IsAsyncOperationPending AndAlso
               e.Row.Tuple.Members(e.Row.MemberIndex).Depth = 0 Then
                myFDS.ExpandAxisTupleMemberAsync(Infragistics.Olap.AxisType.Row, e.Row.TupleIndex, e.Row.MemberIndex, True, upgCube)
            End If

This works as expected. 

The problem is InitializeRow also fires when the user collapses rows and then this code should not execute. I could just have a Boolean that is set when the grid completes rendering and add that to above code. But I cannot find an event, on either the grid or the FlatDataSource, that fires when rendering is complete.

Alternatively I could move above code out of InitializeRow, if that makes sense.

Anybody have a suggestion as how to what the best way here is?

Thanks,

Trausti

Parents Reply
  • 29105
    Offline posted in reply to Trausti Sigurvinsson

    The UltraPivotGrid needs a Before/AfterRowExpanded and collapsed events. 

    I recommend submitting a new product idea. You can suggest new product ideas for future versions (or vote for existing ones) at https://ko.infragistics.com/community/ideas.

    There are many benefits to submitting a product idea:

    -          Direct communication with our product management team regarding your product idea.
    -          Notifications whenever new information regarding your idea becomes available.
    -          Ability to vote on your favorite product ideas to let us know which ones are the most important to you.  You will have ten votes for this and can change which ideas you are voting for at any time.
    -          Allow you to shape the future of our products by requesting new controls and products altogether.
    -          You and other developers can discuss existing product ideas with members of our Product Management team.

    Steps to create your idea:  

    1.       Log into the Infragistics Product Idea site at https://ko.infragistics.com/community/ideas (creating a new login if needed).
    2.       Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)
    3.       Add your product idea and be sure to be specific and provide as much detail as possible.
    The Product Idea site puts you in the driver's seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.

Children
No Data