PDA

View Full Version : XtraTreeList cell color


PEN
09-02-2009, 06:18 PM
This xtraTreeList is killing me. I'm just trying to find a way to color a cell and it looks like it is a huge headache. I'm trying to do it via the nodeCellStyle event but it looks like it is getting called for every cell and takes forever. I know the absolute row index and the absolute column index. Can any see a way to change the color of that cell easily?

JHN
09-02-2009, 06:26 PM
Is there no way to load the dll's in visual c# and see/change all properties!?
That's what I do alot for regular forms, that is when I'm not crunching on some animations, keeping me away from more important things like coding and scripting... :argh:

-Johan

PEN
09-02-2009, 06:53 PM
Well I can see them all in their help files. You can down load the CHM files for all their tools.

http://www.devexpress.com/Downloads/NET/Help.xml

And I just can't sort a decent fast way of deal with it. Once I manage to color them just moving the mouse over the cell changes it back to white.

I might have to completely drop XTL for something else.

denisT
09-02-2009, 07:27 PM
This xtraTreeList is killing me. I'm just trying to find a way to color a cell and it looks like it is a huge headache. I'm trying to do it via the nodeCellStyle event but it looks like it is getting called for every cell and takes forever. I know the absolute row index and the absolute column index. Can any see a way to change the color of that cell easily?

there is no other way to change some cell appearance then use GetCustomNodeCellStyle (recomended by developers) event. It's sucks, but... it's how xtra tree list was designed.

VVaari
09-02-2009, 07:53 PM
Can you create different types of cells for same column in XTL? For example rootnodes has checkboxes in first column but childnodes has listboxes. Seems like pretty handy control, gotta try it someday.

denisT
09-02-2009, 08:05 PM
Can you create different types of cells for same column in XTL? For example rootnodes has checkboxes in first column but childnodes has listboxes. Seems like pretty handy control, gotta try it someday.

yes, you can. You have to use CustomNodeCellEdit event to set another then default for this column editor.

PEN
09-02-2009, 09:46 PM
That is a bit of a mess. It is the only thing that I could find as well. I have now built my own at the moment and things are going more smoothly.

XtraTreeList looks great for many things how ever. I'm using it in one UI but I will not use it in the master UI that I'm having to create now. I need more control over the drawing into the rows and cells then I had with XTL.

CGTalk Moderation
09-02-2009, 09:46 PM
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.