Hi,
I am using UFT 12.01 (.NET Add-In/Web Add-In) and Infragistics 2010 v.1
I am trying to get the columns names of a Win.UltraWinGrid.UltraGrid, and I am able to get them using:
Set ObjGrid = Obj_WdwN.SwfTable("swfname:=ultraGridMantoMemoAlarma")ObjGrid.Highlight a = ObjGrid.Object.DisplayLayout.Bands.item(0).Columns.item(0).Key
or even when using
a = ObjGrid.GetNAProperty("DisplayLayout.Bands[0].Columns[0].Header.Caption")
but the thing is that when doing this (Bands[0].Columns[0].) it shows up the column name of the second column in the grid, I am not able to get the first column Key(Name)
Could you please let me know If I am misisng something in the code...or this is an application issue that it is not taking the first column into the grid...or so....
Thanks, I will appreciate your response.
I moved the topic tu Automation Windows Forms...
Set ObjGrid = Obj_WdwN.SwfTable("swfname:=ultraGridMantoMemoAlarma")ObjGrid.Highlighta = ObjGrid.Object.DisplayLayout.Bands.item(0).Columns.item(0).Key