Each Node in the tree has its own “Table” Panel. So if you used the ColumnResizingTool extension as it is, you would be able to change the width of the columns in one Node. Not in all Nodes in the whole tree.
So you would need to adapt the ColumnResizingTool code to modify the RowColumnDefinition.width of the appropriate column of the “Table” Panel in every Node, not just the one of the selected Node.
Yes Walter, when I tried I was able to make columns resizable but I was able to resize only one column of any rows and not the entire column of the tree table.
If possible can you please create some sample or you can add it to my code as well here Codepen Link . It would be a big help. As Im new to gojs and Im not able to figure out solution based on your comment.
I see in your code that you are setting the TextBlock.width, not the RowColumnDefinition.width. Either way will work, but when you iterate over all of the nodes to modify the width of a particular column, you’ll need to set the same property, TextBlock.width in your case.