ES
Eduardo Silva
August 19, 2005 04:52 PM UTC
I''ve discovered (well this is only a theory) that because my cells are of type DataBoundTreeCell, the ImageList and ImageIndex properites are not valid... any ideas?
I''ve tried removing the code before and adding this instead:
GridHierarchyLevel level0 = this.dbgTree.Binder.RootHierarchyLevel;
level0.InternalColumns[0].StyleInfo.ImageList = imageMenu;
level0.InternalColumns[0].StyleInfo.ImageIndex = 0;
still no luck
AD
Administrator
Syncfusion Team
August 19, 2005 05:07 PM UTC
If you want them to be seen in addition to the +/- and treelines, then you will likely have to derive your own celltype to manage this. If you have the source code, you can take our code in \Src\Extensions\DataBound\GridDataBoundTreeCell.cs, and tweak it to draw the extra bitmap.