PDA

View Full Version : DevExpress.XtraTreeList.TreeList Questions


floopyb
06-28-2011, 08:43 AM
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.

floopyb
06-28-2011, 09:06 AM
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.

floopyb
07-14-2011, 04:12 AM
Anyone using this dontNet control?

denisT
07-14-2011, 04:30 AM
Anyone using this dontNet control?

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.

floopyb
07-14-2011, 05:33 AM
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)

denisT
07-14-2011, 05:48 AM
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)

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.

denisT
07-14-2011, 05:55 AM
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.

CGTalk Moderation
07-14-2011, 05:55 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.