Skip to content

Replies

0
Paul Erickson
Paul Erickson answered on Aug 23, 2018 10:32 PM

That is not the answer we were hoping for … but thank you for getting back to us.

0
Paul Erickson
Paul Erickson answered on Aug 22, 2018 10:48 PM

Thank you for the helpful reply.

Below is the code we are using to retrieve the row header value using the DoubleClick event. Your suggestion works perfectly when the row CELL (yellow circle above) is clicked on but oRow is empty and returns an error when the row HEADER is clicked on (red circle).

Private Sub ultraPivotGrid1_DoubleClick(sender As Object, e As EventArgs) Handles ultraPivotGrid1.DoubleClick

Dim oRow As Infragistics.Win.UltraWinPivotGrid.Data.PivotGridRow

oRow = ultraPivotGrid1.RowFromPoint(ultraPivotGrid1.PointToClient(System.Windows.Forms.Form.MousePosition))

If oRow.Axis.Tuples.Count > 1 Then

MsgBox(oRow.Axis.Tuples(oRow.Index + 1).Members(0).Caption)

End If

End Sub

What do we need to do in order to properly retrieve the row header value when the row header is clicked on?

Thanks again for your assistance with this.

0
Paul Erickson
Paul Erickson answered on Aug 21, 2018 5:28 PM

Thank you for the reply. We understand these are two different areas! What we need to know is what method we should be using to get the values from the "row headers".

Just to clarify – we are using WinPivotGrid.