Hi,
I am displaying data using an ultra grid bound to a dataset using outlook view style. I am displaying multiple layers of information. Each band can have 3-4 child bands (each of which can have 3-4 children each)
I would like to give the users a snapshot of what lies below at each level. So when the user expands the first level, i want to show him how many records are present in each child band. All this information needs to be in a single label or node.
The attached snap shot shows a summary of 4 child bands of a single parent.
I want the summary to be something like-
+ Row Type : License (7 items), Summary (2 items), Version (8 items), Episode (62 items)
Please let me know if this is possible
Thanks,
Karthik Subramanian
Sorry, forgot to attach the snapshot.
Attached it again
Hi Hristo,
Thank you for replying. Unfortunately my code is linked to several other modules of our application and hence I can't give you any sample of it. What we have done is implemented a simple ultragrid bound to a data set containing a few datatables. Currently I am displaying data in the following format (Image1). Using the outlook view, the user can sort the data based on the column and get a summary of the children (Image2).
What we would like to do is load the grid in such a way that the user get's something like Image2, but with a summary of all the children at each level. I'm looking for something like this (Image3)
This post here does address the issue, but somehow the UI isn't quite right. I'm looking for something where I get a custom label with "+" next to it. On expanding the row the user gets all the other information (Either further summaries or the child rows).
Karthik
Image 2
Image 3
One way to implement it
http://ko.infragistics.com/community/forums/p/88896/439795.aspx#439795
However, this isn't what the users are looking for. And i'm not sure if i can create the dataset at run time.
It would be great if you could provide a small sample of how this can be achieved.
We are currently using Infragistics 2012.12
Hello Karthik,
Thank you for the provided screen shots and forum thread. It seems that the suggested approach with RowLayout doesn’t works for you, so you could structure your data hierarchic in order to fit your needs. So I’ve implemented for you such data hierarchic structure, so you should fallow same pattern if you want to do the same for a deeper hierarchic. Please feel free to modify my sample based on your custom needs.
Thank you for using Infragistics Components.
I have modified the sample as per the data structure which I needed. But found it difficult to get the expected result.
In the attached file I have modified the code for the first level and the remaining data tables are commented.
But in the first level also the count in the summary row is incorrect.
Please suggest me the sample code for attached data relation.
Chitra
Thanks for the sample, its exactly what i was looking for. Yes, the hierarchy is getting complicated, especially since we will be having multiple layers (4-5 approx).
But this should get us started.
Thanks again for all the help!
Hello ,
You could add middle table between each table of your hierarchy, but I think that it makes the hierarchy too complicated. However I’ve implemented this for you and I hope that this will helps you.
Please feel free to modify my sample based on your custom needs.
Is there anyway to do implement this without group by? The reason I ask is, I still want the user's to group by various columns, but without tampering with the existing structure.
Basically, what we want is to load the grid like it is now, but with a blank group by band on top, so that the users can then go ahead and group by various columns within this structure.
That was perfect!! Thank you so much for the sample. Just what I was looking for.
I have modified your sample a bit to include another level under Episodes, in case this may come handy for someone else.