标签:pos datarow comment key har nbsp summary int ret
/// <summary>
/// 根据行,列索引来获取RepositoryItem
/// </summary>
/// <param name="view">GridView</param>
/// <param name="rowIndex">行索引</param>
/// <param name="columnIndex">列索引</param>
/// <returns>RepositoryItem</returns>
public static RepositoryItem GetRepositoryItem(this GridView view, int rowIndex, int columnIndex)
{
GridViewInfo _viewInfo = view.GetViewInfo() as GridViewInfo;
GridDataRowInfo _viewRowInfo = _viewInfo.RowsInfo.FindRow(rowIndex) as GridDataRowInfo;
return _viewRowInfo.Cells[columnIndex].Editor;
}
参考:
https://ctolib.com/topics-51075.html DevExpress实现根据行,列索引来获取RepositoryItem的方法
DevExpress实现根据行,列索引来获取RepositoryItem的方法
标签:pos datarow comment key har nbsp summary int ret
原文地址:http://www.cnblogs.com/shy1766IT/p/7554752.html