gridcontrol设置表头序号列标题
来源:互联网 发布:用户 网络数据监控 编辑:程序博客网 时间:2024/06/05 19:51
效果:
实现方法:
//设置序号列的宽度gridView1.IndicatorWidth = 50;
private void gridView1_CustomDrawRowIndicator ( object sender ,DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventArgs e ) { if ( e.Info.Kind == DevExpress.Utils.Drawing.IndicatorKind.Header ) { e.Appearance.DrawBackground( e.Cache ,e.Bounds ); e.Appearance.DrawString( e.Cache ,"序号" ,e.Bounds ); e.Handled = true; } if ( e.Info.IsRowIndicator && e.RowHandle >= 0 ) { e.Info.DisplayText = ( e.RowHandle + 1 ).ToString( ); } }
0 0
- gridcontrol设置表头序号列标题
- gridcontrol设置表头序号列标题
- GridControl 复合表头(多行标题)
- easyui表头标题列扭曲
- Devexpress gridcontrol设置列样式
- DevExpress GridControl 后台设置列
- DevExpress GridControl复合表头(多行表头)设置
- DevExpress GridControl复合表头(多行表头)设置 .
- DevExpress GridControl复合表头(多行表头)设置
- DevExpress GridControl复合表头(多行表头)设置
- DevExpress GridControl复合表头(多行表头)设置BandedGridView
- DevExpress GridControl复合表头(多行表头)设置
- DevExpress GridControl复合表头(多行表头)设置 .
- Jqgrid给序号列增加标题名称
- gridcontrol 之标题 GroupPanel设置 (标题设置,屏蔽右键)
- gridcontrol 之标题 GroupPanel设置 (标题设置,屏蔽右键)
- GridControl中列的显示格式设置
- GridControl设置部分列可编辑
- CoordinatorLayout自定义behavior(仿20CM动画效果)
- noip2015普及组第四题
- angularjs 分页指令编写
- Maven
- std::string 格式化
- gridcontrol设置表头序号列标题
- OPENCV入门教程十九:Laplacian边缘检测
- Java IO(二):IO流——处理流——缓冲流
- 通过webView与javascript交互来研究webView的特点
- HDU 2243 考研路茫茫——单词情结 AC自动机 + 矩阵快速幂
- SwipeRefreshLayout
- Normal Distribution(Gauss Distribution)
- Android中Application类用法
- <设计模式8>代理模式