I'm using the UltraGrid to show two levels of data. The first is the "master" grid, which is just a basic grid. The second is the sub data, which is displayed when you expand each row by clicking on the litle cross (in a second band).
The contents of the sub data band is not consistant. It can be loaded differently for each row of the master grid, showing very different data for each row. In order to let the user know what is in the sub data band, I hope to be able to change the caption of the band header for each row (of the primary data). So they expand one row, they might see the caption "Customers", they expand another row and it might say "Suppliers".
Is this possible? IF so, how. I cant see anything int the ChildBands property to allow me to do this.
Thanks.
Hi,
The UltraWinGrid does not support heterogenous data sources. In other words, all of the columns in the band have to be the same. So the only way to get a different set of columns to show up under different parent rows in the same band would be to have multiple child bands and this will likely cause a serious performance issue - depending on how many bands you are using.
Anyway, it's not entirely clear to me exactly what your requirements are. If you don't need different columns under each parent row and you just want the change the band header text based on the parent row, then there's no property for that, but you could achieve is using a CreationFilter to change the text of the TextUIElement in the header.
Mike Saltzman"] If you don't need different columns under each parent row and you just want the change the band header text based on the parent row, then there's no property for that, but you could achieve is using a CreationFilter to change the text of the TextUIElement in the header.
Yes - this is it. The actual columns are the same, I just want a different header.
The only article I can see on this refers to UltraWinTree, UltraWinToolbars and UltraWinExplorerBar. I guess I'll see if I can make it work here.
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=5510