Hi IuliaVascan,
You might need to get a specific column, by index, to get it's property or method that contains or returns the text.
Referring to you sceenshot, see my images below. Click the Params button. Place an integer in the index field. Then click OK. You can then click the three-dot button to open the column object where you will see the properties and method for the specified column. Hopefully, one or more will return the desired text.
Once you determine the desired property or method that returns the text, you could create a function like this:
function getColumnText(columnIndex)
{
var columnList = DevExpress.XtraTreeList.ViewInfo.VisibleColumnsList;
// replace DesiredPropertyOrMethod with your column's property
// or method that returns the text
return columnList .Item(columnIndex).DesiredPropertyOrMethod;
}
You could also walk/loop all of the columns with a function like this:
function loopColumns()
{
var columnsList = DevExpress.XtraTreeList.ViewInfo.VisibleColumnsList;
for (var i = 0; i < columnsList.Count; i++)
{
var column = columnList.Item(i);
// what ever desired property you want to fetch
var propValue = column.DesiredProperty;
// what ever desired method you want to invoke
// if it has a return value then you can set it to a variable
var methodValue = column.DesiredMethod(); //
}
}
I hope this helps.