DevExpress.XtraGrid的统计功能

从blog.org的我的原博客中迁入

发表时间:2007-4-28 17:35:14
DevExpress.XtraGrid的统计功能
设置ShowFooter = True
选中某一列(ID),SummaryItem属性,->设置SummaryType为:count(记录个数)、sum(总和)、Max(该列最大值)......,->再设置DisPlayFormat格式为:static text{0:format specifier} static text其中format specifier可以分别设置为E1、n0、c2、x8,其中代表格式如下:
c2 : $1,234,00
n0 : 1,234
E1 : 1.2E + 003
 
DevExpress.XtraGrid的其它一些属性设置
Category: VB.NET

DevExpress.XtraGrid.Views.Grid.GridView
Options
---optionsCustomization.AllowFilter 是否全部过滤
|
-optionsSelection-MuSelect 多条记录选择
| |
| -EnableAppearanceFocusedCell False选中一条记录
--optionsView
| ---showFooter 显示统计页脚
| |-showIndicator 显示最前面一列的指示器
| --showGroupPanel 是否显示头注释(Groupbyboxs)
| |-RowAutoHeight 自动高度
|-ColumnAutowidth False设定网格自定义宽度
|-optionsBehavior.Editable False 只读
|-Contextmenustrip 选择右键弹出的菜单

FouceRectstyle = RowFocus
X8 : 000004D2
如:记录总数:{0:c2}条

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值