亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

dhtmlxGrid 添加行號詳細(xì)步驟

 更新時間:2013年03月06日 14:24:25   作者:  
接下來將介紹dhtmlxGrid 添加行號首先設(shè)置屬性(設(shè)置gridView屬性:gridView1 .IndicatorWidth=30)/再添加事件等等感興趣的你可以參考下
一、添加行號,效果如下:


二、設(shè)置屬性
設(shè)置gridView屬性:gridView1 .IndicatorWidth=30;或是在屬性窗口中設(shè)置值。(可根據(jù)實際大小設(shè)置IndicatorWidth大?。?

三、添加事件
復(fù)制代碼 代碼如下:

private void gridView1_CustomDrawRowIndicator(object sender, DevExpress.XtraGrid.Views.Grid.RowIndicatorCustomDrawEventArgs e)
{
if (e.Info.IsRowIndicator && e.RowHandle >= 0)
{
e.Info.DisplayText =( e.RowHandle+1).ToString();
}
}

四、行號搞定。
當(dāng)然也可以設(shè)置行號列,使用數(shù)據(jù)源綁定行號值。

相關(guān)文章

最新評論