Posted 2 April 2024, 8:21 pm EST
Hi. I have a problem with multicolumns C1TreeView. I have a text in the first column and want a number in the second column, but I get either the value from the first column or an empty field depending what I do with DisplayFieldName. I am creating the nodes in code and am not using Binding (in this case). I am trying “DisplayFieldName” in different ways but it seems I can not create it correct to get the number viewed in the column. I have made a simple C#-project in Visual Studio 2022 with C1TreeView for .NET 8. Can someone see what I am doing wrong and maybe correct it or give me a hint of what to do? When I click on a child node I transfer the data to some labels and the number to a textbox. I want to be able to change the number in the textbox and update the column in the selected child node when I click on the Save button. But since I can not get the number in the first place this is not possible.
I hope someone can help.
Thanks and best regards!