Question

I am creating a demo project in wpf application I am also using DevExpress GridControl in this application my problem is that I want get the cell value in on click particular cell.

Was it helpful?

Solution

I think you should look at the HitInfo class.

Try this link.

GridHitInfo hitInfo = gridView1.CalcHitInfo(new Point(e.X, e.Y));
if(hitInfo.InRowCell){
    object value = View.GetRowCellValue(hitInfo.RowHandle, hitInfo.Column);
    //...
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top