Notifications
Clear all

[Closed] DevExpress.XtraTreeList.TreeList Questions

Hi all,
Im currently trying to convert an object manager (selection and editor, similar to the scene explorer) from using a ListView to a DevExpress.XtraTreeList.TreeList and as im not awesome at deciphering dotNet code I thought id start a thread to ask some questions and share some information about the conversion as im going.

Im listing the objects and have checkboxes for some things like hidden and also want to sync the selection of objects to the list. Is there a smart way to get the data to sync up or do I have to rely on callbacks to refresh the list? I have found that selections are ok with callbacks, but if you unhide all the nodeUnhide callback gets called once per unhidden object! Very Slow.

6 Replies

Another Question:
I have set the object column to not be editable as I didnt want it to go into edit mode on single click, but I would like to edit the name on double click… I had a look in the OptionsColumn but couldnt find a double click edit mode, and I cant find a way to go into edit mode from the on … double click event.

Anyone using this dontNet control?

1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

i played A LOT with devx… treelist… xtragrid… and i was not happy. if you are looking for any info about using of treelist with mxs see http://forums.cgsociety.org/showthread.php?f=98&t=551473 .
but if you want to know my opinion -> don’t waste you time. the control is obsolete.

Thanks for the reply DenisT,
I originaly got most of my information from that thread and thought it would be good as i was looking for:
1: Ability to have multiple columns in a treeview.
2: Ability to edit all the columns in a list view.

What turned you off these control types?
Could you suggest any how you might achieve these things? (I really hate the idea of putting an edit text box over a list view cell)

1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

i don’t know how good you are in c#. if you are just a .NET user i suggest you to look at the DataGridView control. it’s the base for many other custom controls. i posted several samples of the using of the DataGridView.

the TreeView is very limited. no columns, no multiple selection. the classic combination of TreeView and ListView is the Windows Explorer. try to organize your tool the same way.

i don’t want to say that xtratreelist is too bad. it kinda works. but i couldn’t … hmm… how to say… accommodate it to my more or less serious tools.