Developer Express gridview 显示行号

 

        private void displayLineNum_CustomDrawRowIndicator(object sender, RowIndicatorCustomDrawEventArgs e)
        {
            if (e.Info.IsRowIndicator && e.RowHandle >= 0)
                e.Info.DisplayText = (e.RowHandle + 1).ToString();
        }
 
阅读更多

没有更多推荐了,返回首页