Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
4165
Guidance for Using Tree w/Columns.
posted

Do you guys have a tutorial or some sort of guide on programatically setting up columns with the Ultratree? I have 70% of it figured out I just need to put it all together.

 Basically, I have a set of folders that have items, just like Explorer. I want to have 2 property columns, date added and Item Type. Issue is Item Type comes from another database entierely (only used when we interface into an accounting system). Plus all the items in the folders don't exist in the same table so I build it through code. (which works very well).

If there is not tutorial, I just need a few lines of code that explains how to add a node programatically with these columns. I have created a column set, and have added three columns.

SO now, I have something like

ut.Nodes.Add(fromSQL.ID, fromSQLName)

How can I get fromSQLName into my Column Item, then reference this item so that I can populate date added and Item TYpe.

 

Thanks.