Hello folks!
Is it possible to place a subtotal in an webgrid or ultrawebgrid like the following sample?...
number name price article
----------------------------------------------------
1 text 102,22 x
2 text2 200,33 x
sum (x) 302,55
3 text3 10,00 y
4 text4 30,00 y
sum (y) 40,00
and so on...
Thanks!
We ship a great UltraWebGrid extension, called WebCalcManager, which takes care of simillar types of scenarios.
I believe the best place to start would be our online samples browser located here:
http://samples.infragistics.com/2008.1/webfeaturebrowser/
and especially the Grid -> UltraWebCalc -> Grid Summaries example. You can find full source code of the example in the code tabs above the example.
Thank you!
It works fine!
Hello Format_C_entaury,
Can you please show some sample code of how you used the UltraWebCalcManager for adding subtotals in the WebGrid?
Thanks in advance,
Alex
Hello Alex,
I have worked with the samples on http://samples.infragistics.com/2008.1/webfeaturebrowser/
You get the code in the category grid.
I hope I could help you!
Best regards,
Thorsten
Hi Thorsten,
Can you please tell me what formula did you use?
Thanks,
Hi Alex,
you can use the Hierachical Grid (WebGrid). In the first selection you can insert the sum and in the second level you can put in the details of the amount.To recall the past I used two separatly select Statements to build the webgrid.Sorry, i don`t have any other examples at the moment.
Best regards,Thorsten