超网格柱求和 [英] summation of ultragrid column

查看:139
本文介绍了超网格柱求和的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在应用程序中使用基础设施超网格进行计费.但是我不知道如何对金额列求和并在向其中添加项目时在文本框中显示它.
请有人帮助我.我是Ultragrid的初学者


在此先感谢

I am using infragistics ultragrid in my application for billing .but i don''t know how to sum the amount column and display it in textbox on adding items to it .
please anybody help me . i am a beginner in ultragrid


Thanks in advance

推荐答案

尝试以下一项:
Try this one:
UltraGridColumn columnToSummarize = ugSelectStock.Rows.Band.Columns["quantity"];
                    SummarySettings ss = ugSelectStock.Rows.Band.Summaries.Add("Grand Total", SummaryType.Sum, columnToSummarize);
                    ss.Appearance.TextHAlign = Infragistics.Win.HAlign.Right;
                    ss.Appearance.FontData.Bold = Infragistics.Win.DefaultableBoolean.True;


他们有一个很好的论坛,博客和在线支持.为什么不使用它?

一个简单的搜索就给了我一个类似的讨论线索: http://blogs.infragistics.com/forums/t/6434.aspx [^ ]
它看起来像: GroupByRowDescriptionMask允许您在groupbyrow中为特定列求和,最小值,最大值等.

在这里查看: Ingragistic论坛 [ ^ ]
基础博客 [ ^ ]
They have a very good forum, blogs and online support. Why don''t you use it?

A simple search there, gave me a similar discussion thread:http://blogs.infragistics.com/forums/t/6434.aspx[^]
It looks like: The GroupByRowDescriptionMask allows you to sum, min, max etc in a groupbyrow for a specific column.

Have a look here: UltraGrid Class[^]
Ingragistic Forum[^]
Infragistic Blogs[^]


这篇关于超网格柱求和的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆