Skip to Content

Accessing the second column of a GuiTree-Element

Jul 06, 2017 at 11:29 AM


avatar image
Former Member


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,


guitree.jpg (15.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers