NOTE: This example illustrates an approach to showing bands in a general way. This approach is not adapted by different TreeList features and printing/exporting. It cannot be easily extended to support different scenarios and features. So, if you need a full-functional solution, please wait when this feature is available out of the box.
This example demonstrates how to create a custom tree list with the capability to create bands in the same manner as in AdvancedGridView.
Note that this is not a full implementation of bands in TreeList but just an example of how it can be done. Some features like Drag&Drop of bands and Column Chooser are disabled because of differences in TreeList layout calculation algorithm which does not support bands.
A request to implement this feature out of the box is already registered in our Support Center: TreeList - Implement bands in a manner similar to the one provided in AdvBandedGridView. You can subscribe to email notifications by adding this page to your favorites.
Question Comments
Added By: Afrizal Chen at: 6/4/2012 1:40:17 AM
I set the left most column in this example to be "FixedLeft", the column is still overriden by the next columns when left-scrolled . Please help.
Added By: Afrizal Chen at: 6/26/2012 11:38:38 PMI wanted to override the PrintInfo just like "http://www.devexpress.com/Support/Center/p/E2667.aspx" but the TreeList class doesn't have the override method like "CreatePrintInfoInstance()"
Added By: (no info) at: 4/4/2013 10:22:57 AMIs this not possible with v2011 2.8?
Added By: Vasily (DevExpress Support) at: 4/4/2013 10:47:52 AMHi David,
I have extracted your question to a separate ticket created on your behalf: Q373313 (How to group tree list columns in bands in the same manner as in AdvancedGridView).
Added By: anh lam at: 5/28/2013 9:12:32 PMin this demo if a column is not belong to any band, it's will not display on treelist at runtime. How can i do to slove this issue ?
Added By: George Hebert (WSI) at: 10/3/2014 9:58:12 AMCan you please add proper support for this? I noticed that the original request for this came 9 years ago (http://www.devexpress.com/scid=AS4236)...so when you said: "...if you need a full-functional solution, please wait when this feature is available out of the box", how much longer do we have to wait?
Added By: Demetrius (DevExpress Support) at: 10/3/2014 12:21:04 PMHello,
At this moment our developers are working on this feature. We have plans to release it in the near future. But, I cannot promise that it will happen in the upcoming version, 14.2. Stay turned and we will inform you when it happens.