Skip to Content
avatar image
Former Member

Accessing the second column of a GuiTree-Element

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

guitree.jpg (15.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers