kadara
2014-02-20T10:18:50Z
Hi,

I have a table with 3 columns.
How could I display the content of the 3rd column of the table in the grouped row, if the table is grouped and filtered by the first column, and the rows are collapsed all.

Thanks

PS: I would like to do something like in the attached picture.
kadara attached the following image(s):
Igor/10Tec
2014-02-21T08:31:11Z
If you want to do that in normal group rows, you need to use custom draw cells. This may require a lot of coding from your side, but I can suggest a better way. Use the built-in aggregate functions to calculate the totals for the last column, but display them in a tree structure.

Look at the attached screenshots. Screen #1 demonstrates that iGrid allows you to calculate aggregate functions and display them in group rows like normal text. However, this idea can be used for trees too (Screens #2 and #3). These samples with the full source code can be found in the iGrid New Features Demo.
Igor/10Tec attached the following image(s):
kadara
2014-02-24T20:09:33Z
Thanks for your reply.
I would like to implement the method showed in the #3 picture in .NET (not in ActiveX).
Is there a way to do that?

Thanks
Igor/10Tec
2014-02-25T08:20:50Z
Oh, sorry - I overlooked that we are in the WinForms grid section.

iGrid.NET does not provide you with a built-in way to calculate aggregate functions for its group rows, but we have a ready-to-use extra sample which demonstrates how to do that. Its name is 'Group Row Sum Manager', and you can find it in our online library of extra samples for iGrid.NET:

http://10tec.com/winforms-grid/extra-samples.aspx 

I guess the similar idea with converting group rows into tree nodes can be used in this case too. If you have any troubles with doing this, feel free to send us a letter to tech support so we can help you to implement the solution.