From what I've seen in some online forums, if you create a dataset correctly and assign it as a datasource for an UltraWinGrid that bands, columns, and relationships between them get generated for you automatically.
Is that true? Can someone provide me with an example of such a dataset?
If it isn't true, then can someone provide me with sample code to do it programmatically?
Here's what I need to do:
Band 1: Order Number, Order Date, Customer Name
Band 2 (drill down of Band 1's Order Number): Order Line Number, Product, Quantity, Price
Band 3 (additional info drill down from Band 2): Transaction date, Type, Base Amount, Amount Invoiced
Thanks in advance,
Paul
Hello Paul,
By default, the 'WinGrid' is creating the bands and columns automatically.
Could you please review the sample attached to this post and see if it meets your requirements.Please feel free to let me know if I misunderstood you or if you have any other questions.
Thank you. I suspected that. I was able to find out how to create a hierarchical recordset, but because of the way my application is structured I wasn't able to test it out. I've spent the better part of 2 days trying to figure out how this application (which is a 3rd party app) functions. It has embedded processes that we don't have the source code for. So we can't just simply add something. I was hoping I could totally redo the multi-band grid (all I needed to do was add one column to a band) and not even use theirs but I can't right now.
Thank you for the quick response and the sample code. I will save it for a time when I create a multi-band grid from scratch.