dev gridview显示行号
来源:互联网 发布:php网站开发流程图 编辑:程序博客网 时间:2024/06/06 02:08
显示行号
private void gvPayList_CustomDrawRowIndicator(object sender, DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventArgs e)
{
e.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
if (e.Info.IsRowIndicator)
{
if (e.RowHandle >= 0)
{
e.Info.DisplayText = (e.RowHandle + 1).ToString();
}
else if (e.RowHandle < 0 && e.RowHandle > -1000)
{
e.Info.Appearance.BackColor = System.Drawing.Color.AntiqueWhite;
e.Info.DisplayText = "G" + e.RowHandle.ToString();
}
}
}
private void gvPayList_CustomDrawRowIndicator(object sender, DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventArgs e)
{
e.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
if (e.Info.IsRowIndicator)
{
if (e.RowHandle >= 0)
{
e.Info.DisplayText = (e.RowHandle + 1).ToString();
}
else if (e.RowHandle < 0 && e.RowHandle > -1000)
{
e.Info.Appearance.BackColor = System.Drawing.Color.AntiqueWhite;
e.Info.DisplayText = "G" + e.RowHandle.ToString();
}
}
}
0 0
- DEV GridView显示行号
- dev gridview显示行号
- Dev GridView 添加行号
- CS -- GridView显示行号
- gridView显示行号
- GridView显示行号
- DevExpress gridview 显示行号
- dev c++ 设置 显示 行号
- Dev Treelist控件显示行号
- dev GridView 自定义显示文本 CustomColumnDisplayText
- DEV C++ VC6.0 Visual Studio 显示行号
- 当gridview有一页时如何显示行号
- 当gridview有多页时如何在每一页递增显示行号
- Repeater和Gridview前台显示行号的方法
- Repeater和Gridview前台显示行号的方法
- Dev XGridControl 设置行号
- dev 点击gridview某行切换chart显示
- Gridview中获得行号
- Heap内存分析工具和MAT 的使用
- Requires: libjemalloc.so.1()(64bit)
- NOT IN、JOIN、IS NULL、NOT EXISTS效率对比
- cocos2dx 3.4 lua加密 和 解密
- http中 ,put 和 post的区别
- dev gridview显示行号
- Android提高代码质量-工具篇
- jdk jre的区别和SE EE ME 的介绍
- Java开发之Spring MVC(五)
- 2016夏季练习——ST表
- ubuntu16.04卸载gnome桌面
- WebView详解及使用说明;(android外壳项目总结版)
- Java Scanner(读取输入)
- 学习动画总结 -- CAEmitterLayer(粒子系统)