Infragistics.NetAdvantage.UltraWebGrid增加多表头[C#]
来源:互联网 发布:昆仑数据科技 编辑:程序博客网 时间:2024/04/29 00:28
先将原先的表头纵坐标设置为1,为新表头空出1行
foreach(Infragistics.WebUI.UltraWebGrid.UltraGridColumn c in e.Layout.Band[0].Columns)
{
c.Header.RowLayoutColumnInfo.OriginY = 1;
}
添加新表头
Infragistics.WebUI.UltraWebGrid.ColumnHeader ch = new Infragistics.WebUI.UltraWebGrid.ColumnHeader(true);
ch.Cation = "[表头文字]";
ch.RowLayout.ColumnInfo.OriginY = 0; 表头纵坐标为0;
ch.RowLayout.ColumnInfo.SpanX = n; n为要跨越的列数;
ch.Image.Url = "[图片路径]";
e.Layout.Bands[0].HeaderLayout.Add(ch);
注:低版本的UltraWebGrid可能因缺少相关属性无法增加多表头情况。
- Infragistics.NetAdvantage.UltraWebGrid增加多表头[C#]
- Infragistics NetAdvantage UltraWebGrid使用技巧
- [转]Infragistics NetAdvantage UltraWebGrid使用技巧
- [转]Infragistics NetAdvantage UltraWebGrid使用技巧
- Infragistics NetAdvantage UltraWebGrid中固定列的实现方法
- 在客户端使用javascript遍历Infragistics NetAdvantage UltraWebGrid中每个单元格的内容
- asp.net 中使用Infragistics NetAdvantage 2005 Volume 3 CLR 2.0(UltraWebGrid)层级GridView
- Infragistics.NetAdvantage.Ultimate.2011.vol1是最后一个支持Ultrawebgrid的版本
- UltraWebGrid多表头的实现
- UltraWebGrid动态生成多表头
- Infragistics NetAdvantage 介绍
- Infragistics.NetAdvantage 安装失败
- Infragistics:UltraWebGrid使用
- Infragistics NetAdvantage 组件说明 WebGrid
- Infragistics NetAdvantage UltraGrid的使用
- Infragistics NetAdvantage UltraGrid的使用
- Netadvantage UltraGrid UltraWebGrid编程手记
- 制作Infragistics.WebUI.UltraWebGrid树型
- iOS资源
- 【转】微信之父张小龙谈移动互联网产品:我所说的都是错的!
- Tomcat源码导入Eclipse
- 《锋利的SQL》图书代码下载
- 【转】周鸿祎:创业计划书,十页PPT讲清九大问题!
- Infragistics.NetAdvantage.UltraWebGrid增加多表头[C#]
- 【转】乔布斯:既非天才,也非暴君?
- Ecshop开发随想
- 红黑树插入操作的C++实现
- ONGL--详解!
- Java类文件(.class文件)版本号与JDK的对应关系
- 杂记之break,continue,goto语句的使用
- 用Python实现一个简单的文件传输协议
- Apache Jakarta Commons 工具集简介