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
610
How to Get the Measure associated with an Active Data Cell
posted

I have selected a data cell in a xamPivotGrid at Runtime.

I need to get the name of the Measure associated with the selected cell.

I have tried the following code:

Dim loCell As PivotCell

Dim loColumn As PivotDataColumn

Dim lcMeasure As String


loCell = MyPivotGrid.ActiveCell

loColumn = loCell.Column

lcMeasure = loColumn.Tupple.Measure


However at runtime loColumn.Tupple.Measure Is Nothing 


Can you please assist me in getting the name of the Measure associated with the active pivot grid data cell at runtime.

  • 29105
    Offline posted

    Hello,

    I recommend reviewing the following blog post:

    http://ko.infragistics.com/community/forums/t/47195.aspx

    Let me know if you have any questions.