cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing the second column of a GuiTree-Element

Former Member
0 Kudos

Hi.

In our SAP, we're often using a GuiTree element with more than one column. It's no problem, accessing the first column by following code:

/*ID is the SAPFEWSELib.GuiComponent.Id of the SAPFEWSELib.GuiTree; SAPWindow is the mainwindow of SAP of type SAPFEWSELib.GuiMainWindow*/
SAPFEWSELib.GuiTree GT = (SAPFEWSELib.GuiTree)SAPWindow.FindById(ID);
foreach (string key in GT.GetAllNodeKeys()){
    System.Console.WriteLine("Key " + key + " contains " + GT.GetNodeTextByKey(key));
}

But I don't know, how to access the second column of this element (shown below).

Does anybody has an idea, how to read this column, if there is a hoeing?

Thank you,

Jan

Accepted Solutions (0)

Answers (0)